This is a collection of really useful and handy PHP code snippets. You can share your code snippet through "Post a snippet" page if you think it may be useful for others. We keep adding new snippets all the time !
//Create a variable for start time - it needs to be the very first line of your web page
$time_start = microtime(true);
your web page code goes here
//Create a variable for end time - this needs to be at the end of the web page when everything else is loaded
$time_end = microtime(true);
$time = $time_end - $time_start;
echo 'Page took '.$time.' seconds to execute';
We've emailed your password. Check you email box.
To complete your registration, please check your mailbox for further instructions.