Hello,
Ok, first off, I really couldnt understand the question, but I'm assuming that the 
php_self function isnt working for you.  Based on that, heres my answer:
I run windows IIS5 and this command doesnt work for me as well, but after using the 
following, it works great =)  Here it goes:

$whatever = ($HTTP_SERVER_VARS[PHP_SELF]);

and if your trying to get just the script name, then try:
$whatever = basename($HTTP_SERVER_VARS[PHP_SELF]);

I hope this is what your looking for...if not, try and explain it a bit better for us 
all =)

~Jeff

In a message dated Mon, 26 Mar 2001  4:44:14 AM Eastern Standard Time, "Peter Nagel" 
<[EMAIL PROTECTED]> writes:

<< Hello, after I now already gepostet the problem in 6 NG and still no
meaningful response got give up I hope soon. I have PHP 4.04pl1 cgi,
Windows, ME and the Xitami Web server. Problem: The environment variable
&PHP_SELF does not stiummt! if I call phpinfo() from the root am all OK ONE,
as soon as I go however into a sublist and call phpinfo() then giebt the
path and the file out, and hangs the path then again to the file on e.g.:
subdir1/test.php/subdir1 that does not entail among other things that the
Icons in phpinfo() the no more to be displayed and I the work with PHPLIB
also forgotten can. Who has an idea



-- 
PHP Windows 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]

 >>



-- 
PHP Windows 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]

Reply via email to