Re: SPAM: [PHP] Page URL from a inc?

From: Date: Sat, 09 Aug 2003 01:20:16 +0000
Subject: Re: SPAM: [PHP] Page URL from a inc?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-158971@lists.php.net to get a copy of this message
<pre> <? print_r($_SERVER) ?> </pre> This will spew a whole lot of stuff out to the screen, PATH_INFO will be one, PHP_SELF will be another... have a look through the list, do some testing, and decide which element of the $_SERVER array suits your needs. Justin On Saturday, August 9, 2003, at 07:44 AM, Jed R. Brubaker wrote:
I am having a bit of a problem with pathinfo. I am looking for a way to generate a URL from within an included class that would return the URL for the script that called the class. Pathinfo returns the class file. Is there a way to get what I need? Thanks in advanced, Jed R. Brubaker -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- [This E-mail scanned for viruses]


« previous php.general (#158971) next »