Re: URGENT: IIS doesn't like GET or POST
| From: | Peter Clarke | Date: | Thu, 06 Dec 2001 11:57:34 +0000 |
| Subject: | Re: URGENT: IIS doesn't like GET or POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76864@lists.php.net to get a copy of this message | ||
Check 'register_globals' in php.ini
It sounds like it's off which is much more secure
Instead of getting:
$var
you'll have:
$HTTP_GET_VARS['var']
It stops people sending any variables in the script.
Peter
"Ron Newman" <ronman@imt.net> wrote in message
news:20011205225833.40501.qmail@pb1.pair.com...
> Hi,
> When I pass form variables to PHP using either GET or POST it works under
> PWS running on "localhost", but when I run the same script remotely on a
> Win2K Advanced Server and IIS machine, I get "Warning, not defined" errors
> for all the variables passed.
>
> Is there some configuration problem with IIS, or am I overlooking
something
> else?
>
> Ron
>
>