Predefined variable

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

what is PHP_SELF when will it is used also tell me REQUEST_METHOD

Re: Predefined variable

On May 16, 4:42 pm, wrote:
Quoted text here. Click to load it :


    The filename of the currently executing script, relative to the
document root. For instance, $_SERVER['PHP_SELF'] in a script at the
address would be /test.php/ 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'.


Site Timeline