Take a look at $_SERVER['REQUEST_URI']
On Tuesday 23 March 2004 04:50 pm, motorpsychkill wrote:
This is tricky to explain, so bear with me please. I have a file like:
c:\htdocs\project_bunny\includes\config.php
In my browser address bar, this would look like:
motorpsychkill mailto:[EMAIL PROTECTED]
on Tuesday, March 23, 2004 4:51 PM said:
So no matter what file I use (like rabbits.php) and I include
config.php, CONFIG_FILE_URL will always return the url for the config
file and NOT the file doing the calling (rabbits.php).
hmm... the only thing
Evan Nemerson mailto:[EMAIL PROTECTED]
on Tuesday, March 23, 2004 5:00 PM said:
Take a look at $_SERVER['REQUEST_URI']
the problem with that is that the value REQUEST_URI will contain is that
of the page in the address bar (i think) and not the location of an
included file (which is what i
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 5:03 PM
To: Evan Nemerson; motorpsychkill; Php General List
Subject: RE: [PHP] something like __URL__ (analogous to __FILE__)
Evan Nemerson mailto:[EMAIL PROTECTED]
on Tuesday
4 matches
Mail list logo