Posts Tagged ‘php’

Prevent SQL Injection Attacks!

Sunday, October 26, 2008 10:18 No Comments

To prevent SQL Injection Attacks on a php script, add this code to a file and include it in every php file at the start.
This filters the input of POST and GET array and exits if it finds any SQL Keywords used for injection.
Here is the code :

This was posted under category: PHP tutorials Tags: php, SQL

Showing date using PHP ‘Strftime’

Saturday, August 23, 2008 13:30 No Comments

Showing date using PHP ‘Strftime’
In this post, I am going to teach u a small function, that is to show date using PHP’s built-in function strftime();
Its pretty simple! You have to send a handful of parameters as arguments to the strftime() function. This formats the date in a specified order.
Now, I’ll teach you all how [...]

This was posted under category: PHP tutorials Tags: php

PHP Tutorials - Installation and the Basics

Wednesday, August 6, 2008 0:01 No Comments

Well Here is a Nice piece of video that teaches you how to Install php on your computer and it also teaches you the basic structure of a php program.

This video is very useful for people who do not know what php exactly is. this is the right video for the newbies….

This was posted under category: PHP tutorials Tags: php

Make your Own PHPmailer!

Tuesday, August 5, 2008 14:39 2 Comments

Here Is the source code of a PHP mailer! Stop paying for mailers! Why pay when you can make your own for Free? Well, Here i will give u the Source code.
Its a very very simple php web development tutorial.

How to use :
Step 1 : Copy the source code in notepad.
Step 2 : Save it [...]

This was posted under category: PHP tutorials Tags: php

Protect your PHP scripts! Make your own Licensing system!

Tuesday, August 5, 2008 12:40 1 Comment

Ever scared that someone might steal your source code and distribute without any rights?
Well here is a solution. In this tutorial, i will teach you how to make a licensing system to your php scripts. Its fairly simple, however hackers can decode it. but still, you might be safe from the script-kiddies. Its a simple [...]

This was posted under category: PHP tutorials Tags: php