Re: [otro] Re: [PHP] $PHP_SELF
| From: | j0rd1 adame | Date: | Thu, 05 Jun 2003 22:07:40 +0000 |
| Subject: | Re: [otro] Re: [PHP] $PHP_SELF | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150419@lists.php.net to get a copy of this message | ||
you should also try with dirname(__FILE__) for getting the real path
j0rd1
On Thursday 05 June 2003 16:51, Stephen wrote:
> Try $HTTP_SERVER_VARS['PHP_SELF']
>
> I'm not yours, so why should I be sincere about it,
> Stephen Craton
> Senior Executive Web Developer
> Mophus.com, Inc.
>
>
> ----- Original Message -----
> From: "Johnny Martinez" <jmartinez@citrusglobal.com>
> To: "php list" <php-general@lists.php.net>
> Sent: Thursday, June 05, 2003 4:36 PM
> Subject: [PHP] $PHP_SELF
>
>
> Hi all,
> I'm trying to get the path and filename of the script I am running.
> $PHP_SELF doesn't seem to work. I'm running PHP4 on a Windows 2000 system.
> Thanks in advance.
>
> Johnny
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php