> -----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, 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 took the op to want).
> 
> for example, config.php is likely not a file someone access directly,
> yet the op still wants that files URI.
> 
> 
> chris.

You've interpreted my question correctly Chris, thanks for the suggestion.

-m

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to