Tuesday, December 8, 2009

Prevent from hijacking in PHP

Prevent from hijacking in PHP

1. Make register_globals to off to prevent Form Injection with malicious data.

2. Make Error_reporting to E_ALL so that all variables will be intialized before using them.
3. Make practice of using htmlentities(), strip_tags(), utf8_decode() and addslashes() for filtering malicious data in php
4. Make practice of using mysql_escape_string() in mysql.

No comments:

Post a Comment

If you are really interested about our blogger, Please Share your opinion here ...

If you Found Any Interviews in your reliable sources, Please Post the information through this Comment and It will be Published in our blogger. help every one to get a Job.