Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
Replying to 10 Things You Probably Didn’t Know About Php
Posted 21 August 2007 - 02:49 AM
Posted 20 August 2007 - 08:26 PM
Posted 18 August 2007 - 02:06 PM
Posted 18 August 2007 - 01:43 PM
Or take a look at a DB wrapper, such as Zend_Db:
If you’re using PHP 5 with MySQL 4.1 or above, consider ditching the mysql_* functions for the improved mysqli_* functions.
Posted 18 August 2007 - 01:06 PM
May be usefull... Many (good/usefull) improvements?
Posted 18 August 2007 - 10:29 AM
10 should be the most important. Poorly written scripts can lead to an SQL injection attack with little effort from the wrongdoer.
Also, be sure to test your scripts well. Put yourself in the place of a hacker, it is better you find any flaws before they do.
You are going to have to properly validate user input regardless. And magic quotes have to do with the way the server is set up, so it all depends on what settings your hosting provider has set up. PHP 6 is phasing out magic quotes completely.