Welcome  ,
Interview Questions >> PHP >> How to prevent form hijacking in PHP ?
Next Question Previous Question

How to prevent form hijacking in PHP ?

  Joseph Ranjan wrote ...
Following things can be done for preventing your PHP Form from Hijacking ... :
Make register_globals to off to prevent Form Injection with malicious data.
Make Error_reporting to E_ALL so that all variables will be intialized before using them.
Make practice of using htmlentities(), strip_tags(), utf8_decode() and addslashes() for filtering malicious data in php .
Make practice of using mysql_escape_string() in mysql.

Login to write answer for this question !
Want to place your ads in this website ?
50USD Per Month for single placement. Contact Us
All Rights Reserved . Developed by SJRANJAN