Re: Re: Weird variable issue encountered... help needed!

From: Date: Mon, 05 Apr 2004 19:11:31 +0000
Subject: Re: Re: Weird variable issue encountered... help needed!
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-182395@lists.php.net to get a copy of this message
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" <blake@lhwd.net> skrev i meddelandet news:4071AC0C.8090101@lhwd.net... > One problem > wrong > <form action="wierd-var-test.php?action=post"> > right > <form action="wierd-var-test.php" method="post"> > ?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 as > >experimental... Basicly, this would get currupt? > > > >(wierd-var-test.php) > ><? > >if($action=='post') > >var_dump($_REQUEST); > >else > >{ > >?> > ><form action="wierd-var-test.php?action=post"> > ><input type="text" name="var"> > ><input type="submit"> > ></form> > ><? > >} > >?> > > > >Or are there some other details I've missed? > > > > > > -- > > +-----------------+-----------------+----------------+ > | Blake Schroeder | Owner/Developer | lhwd.net | > +--(http://www.lhwd.net)------------+--/3174026352\--+

« previous php.general (#182395) next »