SERVER_PROTOCOL' Name and revisio

September 30, 2019, 5:33 am, By uzzal barmon

post image

'PHP_SELF' 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/foo/bar.php would be /foo/bar.php. The __FILE__ constant contains the full path and filename of the current (i.e. included) file. If PHP is running as a command-line processor this variable contains the script name since PHP 4.3.0. Previously it was not available. 'argv' Array of arguments passed to the script. When the script is run on the command line, this gives C-style access to the command line parameters. When called via the GET method, this will contain the query string. 'argc' Contains the number of command line parameters passed to the script (if run on the command line). 'GATEWAY_INTERFACE' What revision of the CGI specification the server is using; e.g. 'CGI/1.1'.

Related articles

Copyright 2019 TWLP Learning Solutions.ff All Right Reserved. gg

Facebook Twitter LinkedIn GooglePlus