Archives
You may want to display the time it took to load a page. Following is a set of simple PHP code which would help you achieve this goal. Place the following snippet at the very top of your page. (Ultimately, it’s advisable to have a header file and a footer file that are included on [...]
This is useful for anyone who’d like to add a login form to any php page. Simply, save the following code as access.php, and insert the following snippet on the first line of any php file you want protected. < ?php include "access.php"; ?> (remove the space before the question mark) Voila! as easy as [...]
This is a simple script that will allow you to import csv data into your database. This comes handy because you can simply edit the appropriate fields, upload it along with the csv file and call it from the web and it will do the rest. It allows you to specify the delimiter in this [...]
For the follows out there who do not know how to import coma separated data into mysql from the prompt, here it is: Assume: PATH is the path to the csv file (can be relative to the directory you were in before logging into mysql) TABLE is the table name that you have already created [...]

Recent Comments