If you want to read all the files a zip file contains and extract those files to a location on your computer then you can do the following. First of all make sure that the zip package is included in your PHP distribution. I use Windows so Windows users can just uncomment the entry for … Read more How to read a zip file in PHP
If you want to know when GoogleBot visited your website recently you can use any of the following ways to do so 1. Go through your web logs which Apache/IIS generate for your website. Scan for GoogleBot. A very crude way indeed. 2. If you have signed up for Google Sitemaps then you can login … Read more How to know when GoogleBot last visited my website
Downloading a file is easy but what if you had to download a file through your page and save it on our machine. Well here goes. We use our friendly CURL library in PHP for this. You can use the following code to download and save the file on your machine <?php $ch = curl_init(); … Read more How to download a file using CURL in PHP
AJAX is a wonderful technology that provides the visitor with a “no refresh” experience on the web. With the advent and popularity of Web 2.0 this technology is making progress by leaps and bounds. If you would like to verify whether a user is registered on your website or not then you can use the … Read more How to use AJAX to check user already exists or not in PHP
A client of the company I work for pointed out a problem in which some how the SSL version of his website got indexed into Google and other search engines. Now this posed a problem for the client as search engines don’t rank web pages well which can be referenced from two or more different … Read more Redirect from SSL URLs to non-SSL URLs in Zencart
You can get the latest browscap.ini file from the following website. http://tempdownloads.browserscap.com/ After downloading the file you can copy the file to your system WINDIR/system32/inetsrv folder and start using it.