I'm doing exactly what you said and here's what it says when I call
$PHP_SELF in the include file:
"Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message
> On Tue, 2002-03-12 at 15:02, David Johansen wrote:
> > Is there a way that I can use $PHP_SELF in include files, so that the
> > function will use the URL of the php script that calls the include file?
> > Thanks,
> > Dave
> If a.php includes b.php, and you check $PHP_SELF in b.php, it should
> give you the path to a.php. What result are you getting?
> Torben Wilson <[EMAIL PROTECTED]>
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php