Run PHP based cron job on localhost windows

Here i will possible solutions to run cron jobs on Windows: Solution-1 using Task scheduler: In your Windows 7/windows 2005/2008. Go to Startmenu->All Programs->Accessories->System Tools->Task Scheduler->create Task In the new window: General (Give the Task name and for testing you can select “Run when User is logged in”) Trigger (You can Select the running interval […]

read more

Set odbc connection using php

Using ODBC with PHP ODBC is one of Microsoft’s earliest technologies for connecting to databases. It is very popular and widely used. This article describes how to setup and use ODBC from a PHP perspective. Here are the steps for odbc connection: Now you can execute any query using connection variable. That’s solve, if you […]

read more

How to import large sql file (> 3MB) in wamp using phpMyAdmin

Normally phpMyAdmin imports sql files with less than 3 MB. To upload .sql files with more than 3 MB (usually in wordpress site) we have  to use a diffent method. Step 1 Move to phpMyAdmin folder usually it is located in “C:wampappsphpmyadmin3.3.9”. Step 2 Open config.inc.php file. Find the code $cfg[‘UploadDir’] =”; and replace it with $cfg[‘UploadDir’] = ‘upload’; Save config.inc.php file. […]

read more