Do you have a question? Post it now! No Registration Necessary. Now with pictures!
May 16, 2007, 4:42 am
rate this thread
Re: Predefined variable
The filename of the currently executing script, relative to the
document root. For instance, $_SERVER['PHP_SELF'] in a script at the
address http://example.com/test.php/foo.bar would be /test.php/
foo.bar. The __FILE__ constant contains the full path and filename of
the current (i.e. included) file.
Which request method was used to access the page; i.e. 'GET',
'HEAD', 'POST', 'PUT'.