Re: Re: Weird variable issue encountered... help needed!
| From: | Daniel Clark | Date: | Mon, 05 Apr 2004 19:01:56 +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-182394@lists.php.net to get a copy of this message | ||
I agree. I believe the default FORM METHOD is GET.
> 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>