Friday, February 27th, 2009 Posted in PHP & MySQL | No Comments »
This class retrieves the Yahoo RSS Weather feed and caches the results. Supplied is the current weather conditions, including image, temperature, wind conditions, atmospheric data, etc. Also, two forecasts are ... Read more..Wednesday, February 25th, 2009 Posted in PHP & MySQL | No Comments »
<?php echo password_gen(6,6); function password_gen($min=6,$max=6){ /*has a default min value of 6 and maximum value of 6*/ $pwd=""; // to store generated password for($i=0;$i<rand($min,$max);$i++){ $num=rand(48,122); if(($num >= 97 && $num <= 122)) $pwd.=chr($num); else if(($num >= 65 && ... Read more..Wednesday, February 25th, 2009 Posted in Open source | No Comments »
The following tutorial illustrates how to create a cookie with a sample code: What is a Cookie? A cookie is often used to identify a user. A cookie is a small file ... Read more..Tuesday, February 24th, 2009 Posted in PHP & MySQL | No Comments »
The following code illustrates how to fetch random record from the Database using PHP There are several tasks where you need to output multiple records from the database in a random order. For ... Read more..Tuesday, February 24th, 2009 Posted in PHP & MySQL | No Comments »
This is a simple date script that displays the date in the title bar, all you do is insert the code in between the <title> and </title> tags You must have ... Read more..