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

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
Thank you all for your ideas so far, however, I ahve gone through all my code, and cannot seem to find the culprit. I did a var dump, and also a dump of the REQUEST, GET, and POST variables, and here is an example of what I am seeing (submitting "test"): string(7) "testiU" _REQUEST: Array (