you should also try with dirname(__FILE__) for getting the real path j0rd1 On Thursday 05 June 2003 16:51, Stephen wrote: > Try $HTTP_SERVER_VARS['PHP_SELF'] > > I'm not yours, so why should I be sincere about it, > Stephen Craton > Senior Executive Web Developer > Mophus.com, Inc. > > > ----- Original Message ----- > From: "Johnny Martinez" <[EMAIL PROTECTED]> > To: "php list" <[EMAIL PROTECTED]> > Sent: Thursday, June 05, 2003 4:36 PM > Subject: [PHP] $PHP_SELF > > > Hi all, > I'm trying to get the path and filename of the script I am running. > $PHP_SELF doesn't seem to work. I'm running PHP4 on a Windows 2000 system. > Thanks in advance. > > Johnny > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php