Maybe you can use the $SCRIPT_NAME variable instead?
Data Driven Design
1506 Tuscaloosa Ave
Holly Hill, Florida 32117
http://www.datadrivendesign.com
Phone: (386) 226-8979
Websites That WORK For You
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 9:27 AM
Subject: [PHP-INST] $PHP_SELF = php4/php.exe on win2000
Hi,
I'm sure this point has been discussed thousand of times, but does anyone
know what to do to make the $PHP_SELF working well under win2000 because in
my case,
echo $PHP_SELF
returns
php4/php.exe/path_to_my_file.php
I understood tha this piece of path (php4/php.exe) is tooken in the Apache
httpd.conf
ScriptAlias /php4/ "C:/php4/"
line, but I don't know what to do to get the good $PHP_SELF
(www.mydomain.com/path_to_my_file.php)
Thanks a lot for helping me,
Loic
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]