|  | Posted by Jan Pieter Kunst on 06/19/05 23:10 
bissatch@yahoo.co.uk wrote:> Hi,
 >
 > I am trying to use script filename to give me the entire path and
 > filename of the current page. For some reason though it is giving me
 > the value of '/php/php.exe'. Why might this be?
 
 AFAIK, to get the entire path + filename (from the point of view of the
 filesystem, not the webserver) of the current script you can use the
 predefined constant __FILE__.
 
 JP
 
 --
 Sorry, <devnull@cauce.org> is a spam trap.
 Real e-mail address unavailable. 5000+ spams per month.
  Navigation: [Reply to this message] |