[thelist] php root server path

Steve Webster steve at netbreed.co.uk
Sat Sep 14 05:12:01 CDT 2002


Try DOCUMENT_ROOT instead!

Regards,

Steve

================================
 Steve Webster
 Freelance Web Developer
 steve at codejunkie.co.uk

 PHP, MySQL, Flash, Perl + more
 http://www.codejunkie.co.uk
================================

----- Original Message -----
From: "Tom Dell'Aringa" <pixelmech at yahoo.com>
To: <thelist at lists.evolt.org>
Sent: Friday, September 13, 2002 9:01 PM
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 !
>
>





More information about the thelist mailing list