Posts tagged PHP
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.How do you recover your Joomla admin password?
0For Joomla 1.5
How do you recover your admin password?
How to check for homepage in Joomla
1Sometime back working on a Joomla website, needed to add a homepage only module so needed to in the template if the current page is the homepage. Few days back needed it again, so had to dig up the old code. For my own future reference and hopefully to help others looking for same here is the code I was using:
(more…)
URL file-access is disabled in the server configuration
0One of my PHP app used to send out SMS alerts using HTTP based SMS Gateway. Everything was working fine till last week when the SMS stopped coming. On running a stand alone PHP page using the same function to send SMS as the page in the application, got this error -
“Warning: fopen(): URL file-access is disabled in the server configuration”
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.PHP 5.3 and MySQL timeouts
0On my dev machine, WinXP SP3, I had PHP 5.2 configured with IIS 5.1 and MySQL 5. Recently upgraded to PHP 5.3
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.