RE: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-07 Thread gvarosky
variable issue encountered... help needed! Just don't use register globals and use "if ($_POST)" instead of "if($action=='post')" so you don't have to include that ?action=post in the query string of your action. Dvdmandt wrote: > Accutually, I intented

Re: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread Ben Ramsey
Just don't use register globals and use "if ($_POST)" instead of "if($action=='post')" so you don't have to include that ?action=post in the query string of your action. Dvdmandt wrote: Accutually, I intented ?action=post, and if($action=='post'), just forgot to add method="post".. :p -- Regards

Re: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread DvDmanDT
Accutually, I intented ?action=post, and if($action=='post'), just forgot to add method="post".. :p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Blake Schroeder" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > One problem > wrong > > right > > ?action is a

Re: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread Daniel Clark
I agree. I believe the default FORM METHOD is GET. > One problem > wrong > > right > > ?action is a variable with a value of post > > -Blake > > > DvDmanDT wrote: > >>Hmm.. Are there any PHP settings that only applies to that vhost? Can you >>please try to run PHP as CGI few tries.. If the inp

Re: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread Blake Schroeder
Is this what your are trying to do? $var = $_POST['var']; if($var) var_dump($_REQUEST); else { ?> DvDmanDT wrote: Hmm.. Are there any PHP settings that only applies to that vhost? Can you please try to r

Re: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread Blake Schroeder
One problem wrong right ?action is a variable with a value of post -Blake DvDmanDT wrote: Hmm.. Are there any PHP settings that only applies to that vhost? Can you please try to run PHP as CGI few tries.. If the input is corrupt, that _could_ be caused by the Apache2 which accutually is marked

[PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread DvDmanDT
Hmm.. Are there any PHP settings that only applies to that vhost? Can you please try to run PHP as CGI few tries.. If the input is corrupt, that _could_ be caused by the Apache2 which accutually is marked as experimental... Basicly, this would get currupt? (wierd-var-test.php) Or are there

Re: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread John W. Holmes
From: "Jason Wong" <[EMAIL PROTECTED]> > On Monday 05 April 2004 22:46, [EMAIL PROTECTED] wrote: > > Thank you all for your ideas so far, however, I ahve gone through all my > > code, and cannot seem to find the culprit. > > I believe it is a known bug with a particular old version of PHP, try usi

Re: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread Jason Wong
On Monday 05 April 2004 22:46, [EMAIL PROTECTED] wrote: > Thank you all for your ideas so far, however, I ahve gone through all my > code, and cannot seem to find the culprit. I believe it is a known bug with a particular old version of PHP, try using the latest. -- Jason Wong -> Gremlins Assoc

RE: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread gvarosky
Fri) Phone: 508-480-4523 (Thursdays only) [EMAIL PROTECTED] PGP Public Key - http://gvarosky.conversent.net/gvarosky.txt -Original Message- From: Kim Steinhaug [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 6:04 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Weird variable issue encoun

[PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread Kim Steinhaug
My first thought is that some dynamic code on this page has an error. Typical like this : news:[EMAIL PROTECTED] > This problem only seems to be happening on one of the virtual hosts on this > system, and I cannot seem to figure out just what it is. > > I have a simple form posting to search.php,