Re: Slight problem with PHP_SELF
| From: | Tom | Date: | Thu, 14 Dec 2000 14:32:01 +0000 |
| Subject: | Re: Slight problem with PHP_SELF | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4463@lists.php.net to get a copy of this message | ||
This may be ugly, but it doesn't cause any problems at all when using
relative paths as you will note that the php.exe occurs before the root of
the path, and not within it.
For discussion about the php/php.exe, take a look at the past threads of
this list for about a week back, there was a lot of discussion about the
merits of using the CGI or Module verison of PHP.
Tom
Simon Willison wrote:
> When I uses $PHP_SELF as part of a URL on my Windows 98 / PHP 4 / Apache
> 1.3.x setup the variable returns the following (example):
>
> http://localhost/php4/php.exe/tfc/news.php?newsid=776
>
> Where I was expecting it to return:
>
> http://localhost/tfc/news.php?newsid=776
>
> Everything still works but it's a bit ugly and I doubt it's gonna help
> things when I start using relative paths between pages etc. Any ideas?
>
> Cheers,
>
> Simon (1st post to this list)
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net