I have a site that uses GD debian server etch I apt-get install php4-gd and now when visiting the site I get -usr-sbin-apache2

connect('mysql'); $db-getAll($query); and boom you get your array rs back.
:-p

My class is really, really simple

well take mine and play with it

Hahahaha
No thank you. I have no idea what half of this stuff does.

joshteam and Tachyon, get a room you two

hey folks, i can't seem to get EXEC or passthru working… any idea what I can check to make sure its not a server issue?

joshteam "array rs" what is "rs"

joshteam is getLastID method in your class safe?

Recordset

ok

yes. Race conditions don't apply as it's connection independent.

I _just_ started being able to understand OOP; doesn't mean I understand all of its concepts. Prior to this I wasn't able to comprehend OOP no matter how hard I tried.

oh durh, i need the full path to the binary

hi,all

joshteam, i am asking because the mysql_insert_id not always correct

I m new user here,

how do you figure? :-p

hrmm… passthru("ls"); shows me the files. but when i attempt to use passthru("ffmpeg") with a command, it fails.

where have source code of food wetsite with php ?

any ideas?

joshteam, what if the same query excuted by two users at the same time

it's connection independent
so they would return the last inserted id via that connection
http://dev.mysql.com/doc/refman/4.1/en/getting-unique-id.html
you can read about it there
read the 2nd paragraph that starts with, "For LAST_INSERT_ID(), the most recently generated ID is maintained in the server on a per-connection basis. "

ok i've always avoided using it joshteam thanx

nope, it's safe.

anyone think they can help? cant seem to get exec() working with ffmpeg

is that… english?

CHINESE ENGLISH!

is wetsite some keyword for porn?

// there ya go

Anyone here use a php debugger?

like.. the browser?

nope
I was thinking about either xdebug or phpdbg

what would the point be?

its been a little while, but I have used kdebug
xdebug
i mean
typo
lol

why would you need such a thing?

Well joshteam to find out what are the errors in your php code. As with any language debugger

some people write php apps more complex than php echo 'h1FOOOOD/h1';echo'This is food'; ?
;-)

lol, you can still execute these complex apps

;(

I wanted to say that kniolet but I have been accused of being rude in here before

shoot. not gonna hurt my feelings.

ah, me is sleepy -.-

Yeah well I now watch what I say

have you ever written a PHP app with more than 2,000 lines of code… at some point you need to be able to see whats happening while its happening

night everyone -.-

but please tell me an instance when you couldn't execute the code to see the outputted errors? or have the errors logged to a file?

its not just about errors

yeah that's why I throw and catch custom exception & store them.

its also about optimization

Its about the flow of the logic also

yep

if u don't known, don't reply pls.

lol, how does a 3rd party debugger help w/ a) optimization & logic flow that you couldn't do yourself?

when the results are not what you want but they do not produce and error message

i don't use a debugger even for c++

TDD is at MOST what you need.

Or better yet tryign to follow the logic flow of someone elses code when he/she has not documented it.

heh, some of the really good C++ toolkits (qt,gtk+) make debuggers less necessary if you stick to using them i think
what OS are you using?

the # of lines of code != the complexity of the code. If you are having a hard time with logic flow check out Finite State Machine Design otherwise just write an exception handler. that stores the exception(s) it catches all the way down to the line & file with it's trace.

debugging and profiling helps a lot, especially when trying to optomize any code… do you know every little nuance of the language and how it reacts with the platform?

GTK+? i love to waste my time, i don't use ide's

as well as finding syntax errors

don't need to. I aim in ##php talking about #php
and a 3rd party debugger for php is … funny.

debugging and profiling are key to writing high quality, highly optimized, high availability code.

especially with php, considering php has such a low barrier of entry, i doubt many developers who use it understand in depth whats going on in the background
especially for profiling

Anyone who consults or whatever. What do you use to generate invoices? Any decent tools/web apps out there?

lol, whatever. believe what you want; it shows your skill level imo.

Open Office here LOL (I don't have that many to generate)
exactly, not using the tools available shows inexperince IHMO

lol. I don't use Paint.. i use photoshop. I must be inexperienced

how on earth does debugging or not indicate an individuals understanding or experience?

debugging is fine. Using a 3rd party app to debug a non-compiled, intereperted web language is.. ridiculous. Use TDD if you need to.

imho, imho is the most annoying abbreviation

if you use Linux, if I remember correctly, you can output profile info in xdebug that you can view in KCachGrind which is REALLY REALLY helpful
LOL

are you familiar with TDD?

what's wrong with using something like xdebug and kcachegrind ?

normally pcre matches are ordered by how the parenthesized expressions appear in the pattern

yes

i thought I just said it..

tdd is not a replacement for profiling or debugging…

is it possible to get pcre matches ordered by how the parenthesized expressions match the subject?

are you familiar with the ability to extend exceptions and how to get info out of the exception objects?

mutually exclusive practices

LOL yes

then please explain what you gain from these 3rd party apps that a combination of good architecture, mvc, tdd, and exception handling doesn't give you?

so /(?.(\w+)|\[([^]])\])+/ applied to ".foo.bar[a.b][c.d]"

show me how to efficiently optimize 30,000 lines of code using exeptions and I will concede

Hello, i have an array ($file_types = 'blah', 'blah') .. how do i echo all those out as blah,blah blah

matches[1] ordinarily is "bar" and matches[2] "c.d"

so you are saying the only way to "efficently" optimize large code bases is with 3rd party automation tools? :-p

i want to get matches = array("foo", "bar", "a.b", "c.d")

following design patterns isnt a substitute for profiling execution and debugging large applications… you use them in conjunction with one another

alex20 use implode()

no, you must use design patters with development designs and good custom error handling relevant to the business logic.
3rd party tools aren't in that formula.

you do what you do and let us discuss debugging in peace please LOL

fair enough. Just for the record, I've worked for y! and Lending.com + some other shops and if anyone used a 3rd party debugger, we'd laugh them out of the team. :-p
I mean we used high end stress test software and wrote our own work tree process for each app of high scale.

im not going to get into the "ive worked for" thing with you LOL

kniolet, forgive me for asking but why are you capitalizing lol

I'm just laying out that I have -some- credibility. Not a pissing contest.

because its an initialism and thats propper grammer ;-) if it bothers you i will use lower case though teehee

kniolet, yes it does, sorry

why would you use proper grammar in lol, but not with your sentences? :-p
err kniolet not irisblaze
it's late im tired :-p

lol (better irisblaze?) ;-)

much better kiolet thanx :P

are you still here?

you live in htown? :-p

I used to

dallas
i went to aTm

I know this is probably off topic, but does anyone know XPath?
I'm using php to do queries with xpath

whatcha want to konw?

ohhhh that's why we are fighting, I don't like Dallas LOL oops lol I mean

lol

i live in houston heh

Awesome! Houston is hands down my favorite city in the US (except in July I guess, lol)

f00li5h, you here?

you a Cowboys fan?

not really, not big into sports :/

err 2 things i don't like about my profssion
not many co-working woman in the same dpt worth looking at. and not many sports fans.

yeah, a lot of the guys i work with are into sports though

** not saying there aren't attractive woman developers, just haven't met any
developers?

yup

damn
:-p

hey all.

what i would do

where I am working now there are many developers who are very into sports
he george

I guess i've just been jipped

how is dallas, ive been getting job offers like crazy for the dallas area

now tennis, golf doesn't count

but I'll admit I don't care at alla bout sports

market is good right now. I love it, but I am biased. I've lived here 21+ yrs

I worte a simple recursive function to find some data in an object (which is just a bunch of nested objects and arrays) http://pastebin.com/m68eabfc0 , but now I want to modify it to find AND REPLACE, and I have no idea how to go about doing it

they follow literally everything, I don't know how ppl can keep up

any developers here, intrested in designing a new project?

to do what?

I know most stats of the cowboys for the past 10yrs

i feel like it could be a simple change, but i cant think of how for the life of me… any suggestions are much appreciated http://pastebin.com/m68eabfc0

sure, but do you know the stats for golf, football, baseball, soccer, etc and including college and professional leagues

i feel like this should be pretty simple…

you might
but I just can't fathom such commitment

Dallas Cowboys, UT Longhorns, Dallas Mavericks my top 3 i know everything.

hi all
could someone please help me with redirecting a URL either though PHP or .htaccess as I am bogged on 1 thing?

no, i really only "FOLLOW" those 3.

user-admin kinda thing.

when you say design do you mean you'd like to start a OS project or what?
because I'm not actually interested in working for pay or something like that

No, based on Debian.
a simple control panel, which lets you perform several tasks

replace with the same string right?
just pass the replace string as a parameter

anyone?

and when data == needle just say data = replacement
what are you trying to do with the .htaccess?
mod rewrite?

SPFHelper in php use header()

what i mean is this: im recursively traversing the object to find my data, and that part works, but once I do, how do I modify the ORIGINAL data… with a memory pointer you mean?

Hi
http://bin.cakephp.org/view/518276432

php doesn't have pointers

I don't want to flood or spam the channel so I copied it here http://bin.cakephp.org/view/518276432

instead of saying "FOUND" i want to change the value and have it be changed outside of the loop

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Comments are closed.


Blog Tags:

Similar posts: