Related Articles
PHP Server Common Codes To Get Values
$_SERVER[“DOCUMENT_ROOT”] === /home/user/www$_SERVER[“SERVER_ADDR”] === 143.34.112.23$_SERVER[‘HTTP_HOST’] === example.com (or with WWW)$_SERVER[“REQUEST_URI”] === /folder1/folder2/yourfile.php?var=blabla#123__FILE__ === /home/user/www/folder1/folder2/yourfile.php —>//p.s. ON WINDOWS SERVERS, instead of / is basename(__FILE__) === yourfile.php__DIR__ === /home/user/www/folder1/folder2 [same: dirname(__FILE__)]$_SERVER[“QUERY_STRING”] === var=blabla#123$_SERVER[“REQUEST_URI”] === /folder1/folder2/yourfile.php?var=blabla#123 parse_url($_SERVER[“REQUEST_URI”], PHP_URL_PATH) === /folder1/folder2/yourfile.php $_SERVER[“PHP_SELF”] === /folder1/folder2/yourfile.php//if “parentfile.php” includes this “yourfile.php”(and inside it are the codes written), and “parentfile.php?a=123” is opened, then$_SERVER[“PHP_SELF”] […]
5 Free Web Hosting Providers With Linux PHP and Mysql
Below are the Top Best 5 Free Web Hosting Providers With Linux PHP and Mysql along with Cpanel systems. Free Web Hosting Websites 1. 000WebHost 000WebHost.com provides one of the most reliable and feature-rich web hosting service without advertising. All accounts come with 500 MB disk space, 100 GB data transfer and PHP and MySql […]
How to Show Errors in PHP
Below script is to show errors in PHP, the error_reporting function will show all the error.You have to initialize at the start of PHP tag.

