Welcome to my Portfolio Webpage.

Click on the top menu to view an illustration of the particular PHP skill set.

  Server variables: $_SERVER $_SERVER is an array containing information such as headers, paths, and script locations. The entries in this array are created by the web server. There is no guarantee that every web server will provide any of these.

Server Variable Description Example
'AUTH_TYPE' When running under Apache as module doing HTTP authenticated this variable is set to the authentication type.
'DOCUMENT_ROOT' The document root directory under which the current script is executing, as defined in the server's configuration file. /home/vhosts/41125886portfolio.freevar.com
'GATEWAY_INTERFACE' What revision of the CGI specification the server is using; i.e. 'CGI/1.1'. CGI/1.1
'PATH_TRANSLATED' Filesystem based path to the current script.
'PHP_AUTH_PW' When running under Apache or IIS (ISAPI on PHP 5) as module doing HTTP authentication this variable is set to the password provided by the user.
'PHP_SELF' The filename of the currently executing script, relative to the document root /server.php
'QUERY_STRING' The query string, if any, via which the page was accessed.
'REMOTE_ADDR' The IP address from which the user is viewing the current page. 3.142.200.226
'REMOTE_HOST' The Host name from which the user is viewing the current page.
'REMOTE_PORT' The port being used on the user's machine to communicate with the web server. 38681
'REQUEST_METHOD' Which request method was used to access the page; i.e. 'GET', 'HEAD', 'POST', 'PUT'. GET
'REQUEST_URI' The URI which was given in order to access this page; for instance, '/index.html'. /server.php
'SCRIPT_FILENAME' The absolute pathname of the currently executing script. /home/vhosts/41125886portfolio.freevar.com/server.php
'SCRIPT_NAME' Contains the current script's path. This is useful for pages which need to point to themselves. /server.php
'SERVER_ADMIN' The value given to the SERVER_ADMIN (for Apache) directive in the web server configuration file. contact@freewha.com
'SERVER_NAME' The name of the server host under which the current script is executing. If the script is running on a virtual host, this will be the value defined for that virtual host. 41125886portfolio.freevar.com
'SERVER_PORT' The port on the server machine being used by the web server for communication. For default setups, this will be '80'. 80
'SERVER_PROTOCOL' Name and revision of the information protocol via which the page was requested; i.e. 'HTTP/1.0'. HTTP/1.1
'SERVER_SIGNATURE' String containing the server version and virtual host name which are added to server-generated pages, if enabled.
'SERVER_SOFTWARE' Server identification string, given in the headers when responding to requests. Apache/2.4.41

Free Web Hosting