Try putting <?php phpinfo(); ?> and you'll get all the information that is available -----Original Message----- From: thelist-admin at lists.evolt.org [mailto:thelist-admin at lists.evolt.org] On Behalf Of Tom Dell'Aringa Sent: 13 September 2002 21:02 To: thelist at lists.evolt.org Subject: [thelist] php root server path Hi, trying to get my actual path on my server. I am using a shared hosting domain. I thought I saw this path when I was doing something else to get the pagename. I was using: $curpage = ($_SERVER['SCRIPT_NAME']); but this only gives me /pagename.php..not the full path..can I get that some way? Tom ===== var me = tom.pixelmech.webDeveloper(); http://www.pixelmech.com/ http://www.maccaws.com/ [Making A Commercial Case for Adopting Web Standards] __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- For unsubscribe and other options, including the Tip Harvester and archive of thelist go to: http://lists.evolt.org Workers of the Web, evolt !