SPA in PHP Using Master Page Concept

My students learning PHP ask me to show how to make a single page web application (SPA) in PHP using master page concept. In this tutorial I am going to show you how to do it as simple as possible. If you want to have HEADER,FOOTER ,LEFT & RIGHT, panel same of more then one […]

read more

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

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