RE: [PHP] Posting to oneself
| From: | Johnson, Kirk | Date: | Wed, 29 Aug 2001 23:37:27 +0000 |
| Subject: | RE: [PHP] Posting to oneself | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-65128@lists.php.net to get a copy of this message | ||
Check if register_globals is off in php.ini. If it is, you will need to
access it through the $HTTP_SERVER_VARS array, e.g.,
$HTTP_SERVER_VARS['PHP_SELF'].
Kirk
> -----Original Message-----
> From: John Meyer [mailto:john_meyer@geocities.com]
> Sent: Wednesday, August 29, 2001 5:43 PM
> To: Jason Bell; php-general@lists.php.net
> Subject: Re: [PHP] Posting to oneself
>
>
> At 03:18 PM 8/29/01 -0700, you wrote:
> >if you are within a function, try doing this first:
> >
> >global $PHP_SELF;