Posts tagged PHP5
Parse HTTP Headers in PHP
5Like most of the times, almost all my posts have something to do with whatever I am currently working on. Needed to parse HTTP headers in PHP and the function given in the manual required PECL which sadly was not available on my server. If you don’t have access to the PECL, here is a way to parse the headers.
(more…)
How to Get Current URL in PHP
0Recently needed to get URL of the page I was on. Here is the code to get that> It works fine for Apache on Linux. Have not tested it for IIS or Apache on windows.
Do you enjoy this blog? Do you find the information helpful? Then go ahead and treat me to a coffee or send me a tip! I love Barista's Cappuccino Cookie n Cream . Choose any amount you wish, whatever you feel this blog is worth to you.