Re: Slight problem with PHP_SELF

From: Date: Thu, 14 Dec 2000 18:04:48 +0000
Subject: Re: Slight problem with PHP_SELF
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4475@lists.php.net to get a copy of this message
The only way to change the actual return value of PHP_SELF is to use the Apache Module version of PHP. There are good directions for that here: http://www.paddy.f2s.com/phpapache Otherwise one other thing you can do is use $REQUEST_URI instead. Matthew At 01:47 PM 12/14/2000 +0000, you 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


« previous php.windows (#4475) next »