View Single Post

  #3 (permalink)  
Old 07-11-2003
point
 
Posts: n/a
Default Re: is it possible to

Yes there is

$_SERVER['REQUEST_URI']

would be the whole path

or

$_SERVER['SCRIPT_NAME']

just the name of the current script

I suggest you use a phpinfo() function and see for your selfe....there are a
few more so use the one you need....


hope this helps

point
"Damien" <stardrifter@evilleltd.com> wrote in message
news:c7fd0606.0307101436.3deec914@posting.google.c om...
> Is there a command that makes it possible to find out the name of the
> open file, ie. if index.php was open the command would return
> index.php?
>
> Thanks for any help



Reply With Quote