In this tutorial, I'll teach how, using PHP, you can parse a block of text and convert the BBCode into HTML. The function in the spotlight here is preg_replace. To fully understand its use, you should be familiar with regular expressions. If you aren't, just skim my regular expressions tutorial
Learn from a simple code how to generate the page loading time using pure PHP programing.
The idea is simple, this script generates a number that counts in seconds the page loading time.
It’s a very simple script and is accurate to 0.000000000000001 seconds.
This is actually a real simple operation and thus this tutorial is also very simple, so you should have your user activity tracking in no time. Today we are just going to look at how to find out who's on your cakephp site, where they came from, which models and actions they are using and what browser they are using to do all this. We won't discuss how to display all the results here, that will be Part 2 of this tutorial so for now if you wish to view your results why not use PHPMyAdmin or WebYog or something so you can see the results - For purpose of this tutorial I will be using PHPMyAdmin to show you the results.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.