[PHP] $PHP_SELF AND INFORMATION.

2004-02-04 Thread Philip J. Newman
$_SERVER[PHP_SELF]; returns /c/hosting/newman/hello.php is there an easy way to get get hello.php? --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] $PHP_SELF AND INFORMATION.

2004-02-04 Thread Martin Towell
http://au2.php.net/manual/en/function.basename.php Martin -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 February 2004 11:57 AM To: [EMAIL PROTECTED] Subject: [PHP] $PHP_SELF AND INFORMATION. $_SERVER[PHP_SELF]; returns /c/hosting/newman

Re: [PHP] $PHP_SELF AND INFORMATION.

2004-02-04 Thread John Nichel
Philip J. Newman wrote: $_SERVER[PHP_SELF]; returns /c/hosting/newman/hello.php is there an easy way to get get hello.php? Didn't we just have this question today? http://www.php.net/manual/en/function.basename.php -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General