One ability of PHP is to run a random number generator (RNG) using the rand function. How would one go about telling PHP to select a so-called "random" number? Let's take a look at the simple code
Showing the number of visitors online on your website is a very nice feature. For yourself, and also your visitors. In this tutorial you will create a perfect script that does the job.
In this tutorial you will make 3 pages: config.php - contains database information functions.php - contains search functions search.php - the page that searches.
I came across this while trying to send alerts from my website to my cellphone. It's really quite simple. What you will need is to know your carrier, obviously your cell phone number, and the ability to use PHP's mail() function.
It becomes practical and more useful if the tutorial is written in the form of a funtction. This function will hopefully work anywhere. The basic idea behind this random password is that it will give a different password every time it is called. This can only be done by using the time as the main core input. So we will start of by defining a PHP function which will generate this password for us. There will be one input from the user, the length of the password. When the function will be called, it will return a random password of characters ranging from 0-32 depending on the length given (alphabets and numbers).
As many of you will know, there are two ways which md5 hashes can be decrypted. There's brute forcing, which requires time, and then there's simple databasing, which requires a little bit of luck.
In this tutorial i will show you how to make a page navigation. A bit more advanced php technique, but definitely not hard.
An updated and more cross-browser compatible version of the CSS star rater
In this tutorial I will show you how to create a captcha image to protect your form submissions.
Most blogging platforms come with built-in support for RSS feeds. Why? It’s a great way for users to keep up to date on your new content. Instead of loading up a dozen favorite sites, they can look at one feed reader and then decide what to pursue further. So what if you don’t use a blogging platform or CMS that creates a feed for you? You can create one yourself in PHP. It’s pretty simple.