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 | 1 Comment »
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..Monday, February 23rd, 2009 Posted in PHP & MySQL | No Comments »
With over 70% of all attacks now carried out over the web application level, organisations need every help they can get in making their systems secure. Web application firewalls are ... Read more..Monday, February 23rd, 2009 Posted in PHP & MySQL | No Comments »
Today, I have found a nice article from IBM about “Seven habits for writing secure PHP applications“. Security in a PHP application includes remote and local security concerns. Discover the ... Read more..Monday, February 23rd, 2009 Posted in CSS Tutorials, JavaScript & AJAX Tutorials | No Comments »
Minify is a PHP5 app that can combine multiple CSS or Javascript files, compress their contents (i.e. removal of unnecessary whitespace/comments), and serve the results with HTTP encoding (gzip/deflate) and headers that allow optimal ... Read more..Thursday, February 19th, 2009 Posted in PHP & MySQL | No Comments »
If you are already familiar with PHP code for Web sites, then you'll find it works great for command-line scripting on Linux systems. Gone are the days when Perl was the ... Read more..Tuesday, February 10th, 2009 Posted in JavaScript & AJAX Tutorials | No Comments »
Charts and graphs help the user to visualise data in a more meaningfull way than rows of text statistics. They are extensively used in reporting applications, for displaying earnings, website ... Read more..