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”] […]
Free Bootstrap Templates and Themes Websites
If you are a Bootstrap fan then check out below Websites where they you can get free Bootstrap Templates with options like Admin Dashboard Templates, Landing Page Templates, Single Page Templates, Sidebar Templates and more. http://bootstraptaste.com/ http://w3layouts.com/tag/bootstrap-templates/ https://wrapbootstrap.com/ https://bootswatch.com/ http://startbootstrap.com/ https://almsaeedstudio.com/ http://www.gettemplate.com/ http://shapebootstrap.net/ http://www.scoopthemes.com/ http://webthemez.com/ http://usebootstrap.com/ http://www.blacktie.co/ http://www.bootstrapzero.com/ http://www.bootstrap51.com/ http://bootstrapious.com/ http://www.bootstrapstage.com/free-themes/ http://www.designbootstrap.com/ http://thebootstrapthemes.com http://bootstrapbay.com/ http://www.bootstrappage.com/category/freetemplates […]
Firefox Excel Application Issue
If you are not able to download the excel in Firefox and where it is working fine in Chrome and IE then have a look at below code. To work in Firefox Excel Issue Just add below code in headersheader(“Content-type: application/vnd.ms-excel”); See below for full code header(“Content-disposition: attachment;filename=example.xls”);header(“Content-type: application/vnd.ms-excel”);header(“Pragma: public”);header(“Expires: 0”);header(“Cache-Control: must-revalidate, post-check=0, pre-check=0”);header(“Cache-Control: private”, […]

