Re: Using $_GET for POST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> if ( ! (isset($_GET['xxxxx']) && $_GET['xxxxx'] == 20) )
>   {
>   // Do something by returning an error
>   }
>
> Can this ever be correct when the form looks like:
>
>        <form ENCTYPE="multipart/form-data" ACTION="" METHOD="POST">
>        <input NAME="SomeFile" TYPE="file">
>        <input VALUE="submit" TYPE="submit"></form>
>
> ?


I sometimes do things similar to this.  I normally use it when I am opening
a new page via a javascript function and want to pass several values to use
or check in the new page.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux