Re: [PHP] ARG: Seg Faults with PHP 5.0.5, now on Solaris and SLES9

2005-10-11 Thread Jochem Maas
Chuck wrote: Yes, prefork is what I am using. ah ok. Also made sure and linked with pthread php + threads are not bedfellows - maybe try dropping pthread as your AcceptMutex apache directive? otherwise it could be time to crack open gdb and run apache through it try and figure out exactly

Re: [PHP] ARG: Seg Faults with PHP 5.0.5, now on Solaris and SLES9

2005-10-10 Thread Jochem Maas
Chuck wrote: After 3 months of headache and intermittent seg faults on Solaris 9, we decided to give SLES 9 a try. Now we get continuous seg faults. I am running apache 2.0.54 on SLES 9 with all updates, and Oracle 10.2.0.1. (everything is the 32-bit flavor) I built PHP as fol

Re: [PHP] ARG, call to undefined function, same problem I had on SuSE

2005-07-19 Thread Chris
You didn't send the questionto the list... I have no idea. Chris Chuck Carson wrote: Using ocilogon, I get this error: Warning: ocilogon() [function.ocilogon]: _oci_open_server: Error while trying to retrieve text for error ORA-12154 in /usr/local/apache2/htdocs/oratest.php on line 2 Can anyo

Re: [PHP] ARG, call to undefined function, same problem I had on SuSE

2005-07-19 Thread Chris
I've never used the Oracle functions before, but the ora_* functions are different than the oci_* functions. The ./configure added the oci_* not the ora_*. Just looking in from the outside it seems that you need the oci_* , so try it wiith those? Chris Chuck Carson wrote: Okay, just bui

RE: [PHP] arg parsing

2002-11-08 Thread John W. Holmes
Look at register_globals in your php.ini. Your variables are being passed, it's just that with register_globals OFF, you reference it as $_GET['action'] and with it on, you reference it as just $action. ---John Holmes... > -Original Message- > From: phil [mailto:phil@;localwebpages.co.uk

Re: [PHP] arg parsing

2002-11-08 Thread Marco Tabini
Well, it's probably the fifth time it's asked today :-) The setting is register_globals Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmer Come visit us at http://www.phparch.com! --- Begin Message --- Ap

Re: [PHP] arg, this is crazy :\ - i dont get it, is the variable,uhm, NOT GLOBAL or something?

2001-10-29 Thread Rasmus Lerdorf
Please read http://us.php.net/manual/en/language.variables.scope.php On Mon, 29 Oct 2001, Richard Marks wrote: > what in the world is wrong here? > > > > Header ("Content-type: image/png"); > $img = imagecreate (

Re: [PHP] Arg seperators

2001-05-18 Thread DAve Goodrich
on 5/18/01 8:58 AM, Rasmus Lerdorf at [EMAIL PROTECTED] wrote: >> According to the w3c validation program; >> >> A URL for a CGI program that uses `&' as a separator, such as >> "http://host/prog?x=1&y=2";. This is a common problem: the inventors of CGI >> didn't think things through very carefu

RE: [PHP] Arg seperators

2001-05-18 Thread scott [gts]
i had to do that once with a perl script i was writing because there were a variable number of "options" that could be passed in, yet i needed to have a fixed number of paramaters going into the script. i used: ./prog.cgi?opts=x:1,y:2,z:3 sort-of like a primitive form of php's ability to pass ar

Re: [PHP] Arg seperators

2001-05-18 Thread Rasmus Lerdorf
> According to the w3c validation program; > > A URL for a CGI program that uses `&' as a separator, such as > "http://host/prog?x=1&y=2";. This is a common problem: the inventors of CGI > didn't think things through very carefully when they decided to use the '&' > character as a separator betwee

Re: [PHP] arg....

2001-01-26 Thread Iván Sánchez Ortega \"MR\"
"Kurth Bemis" ... > At 12:31 PM 1/26/2001, Krznaric Michael wrote: > > sorry - here you all go.. > > > // number crunching time > $count++; > $time = date("Y-m-d H:i:s"); > > $result = mysql_query("INSERT INTO links (count) VALUES $count WHERE lid=$id"); > >i'm having a horrible time updating 2 f

Re: [PHP] arg....

2001-01-26 Thread Shawn Blaylock
whoops! I forgot to escape my quotes! try this: $query_str = "INSERT INTO links (count) VALUES (\"$count\") WHERE lid=\"$id\""; mysql_query($query_str); Shawn Blaylock wrote: > > You might want to try this: > > mysql_query("INSERT INTO links (count) VALUES ("$count") WHERE > lid=$id"); >

Re: [PHP] arg....

2001-01-26 Thread Shawn Blaylock
You might want to try this: mysql_query("INSERT INTO links (count) VALUES ("$count") WHERE lid=$id"); Kurth Bemis wrote: > > At 12:31 PM 1/26/2001, Krznaric Michael wrote: > > sorry - here you all go.. > > // number crunching time > $count++; > $time = date("Y-m-d H:i:s"); > > $result = mys

RE: [PHP] arg....

2001-01-26 Thread Kurth Bemis
At 12:31 PM 1/26/2001, Krznaric Michael wrote: sorry - here you all go.. // number crunching time $count++; $time = date("Y-m-d H:i:s"); $result = mysql_query("INSERT INTO links (count) VALUES $count WHERE lid=$id"); echo $result; > You need to be a little more specific about DB an

RE: [PHP] arg....

2001-01-26 Thread Krznaric Michael
You need to be a little more specific about DB and problem type. You may have to commit the transaction if commit is not implict (ex Oracle). There could be many resons including your SQL statement. Mike -Original Message- From: Kurth Bemis [mailto:[EMAIL PROTECTED]] Sent: Friday