RE: [PHP] POST/GET vars in apache
| From: | Brian McGarvie | Date: | Thu, 13 Jun 2002 10:39:01 +0000 |
| Subject: | RE: [PHP] POST/GET vars in apache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101923@lists.php.net to get a copy of this message | ||
it;s todo with the ini file an option register_globals
Off - you need to use the $HTTP_POST_VARS[var] method
On - you dont
Pro - more secure.
Con - more to type!
> -----Original Message-----
> From: Webmaster do Aborla.net [mailto:webmaster@aborla.net]
> Sent: 13 June 2002 11:32 AM
> To: php-general@lists.php.net
> Subject: [PHP] POST/GET vars in apache
>
>
> Hello everybody,
>
> I used to use IIS and now I moved to apache. I use PHP, too.
> But now, in
> order to get a POST/GET var I need to use
> $HTTP_POST_VARS[var] and with IIS
> I simply call $var.
> Why this happens??? Do I need to modify all my scripts to
> $HTTP_POST_VARS???
>
>
> Thanking in advance,
> Nuno Lopes
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>