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”] […]
7 Free Bootstrap Dashboard Admin Themes
Below are the best Free Dashboard bootstrap themes and templates that you can use for Admin Side. And also these free bootstrap dashboard themes are open source which means you can use them on your own projects and can also change the source code but don’t distribute. Free Bootstrap Dashboard Themes 1. SB Admin2 is […]
How to Convert HTML WebPage to PDF Using PHP
Convert a web page into PDF format, download and save into folder as below. Include dompdf_config.inc.php file from the library. Create a folder for saving the PDF file which is generated from the webpage. HTML code to convert on submit: Download dompdf library from the github which is free. Click here to download.

