How to make website safe to hack
use mysql_real_escape_string() during login
use addslashes() during login
user trim during login
use mysql_real_escape_string() during login
use addslashes() during login
user trim during login
<?php $resource = Mage::getSingleton(‘core/resource’); $readConnection = $resource->getConnection(‘core_read’); $query = ‘SELECT * FROM files where prod_id=’.$file_id; $results = $readConnection->fetchAll($query); if(!empty($results)){ echo “Download Files”; foreach($results as $resultsfile){ ?> <br/><a href=”http://www.infinityinfosystem.com/download.php?filename=<?php echo $resultsfile[‘prod_file’];?>”><?php echo $resultsfile[‘file_title’];?></a> <?php }}?>
RewriteRule ^folder/title-id.html?$ folder/file.php?id=$2 [NC,L] # Handle product requests RewriteRule ^video/([a-zA-z0-9-_+.(),’”|&]+)-([0-9]+).html?$ video/videoplay.php?id=$2 [NC,L] # Handle product requests Just Change you href like title-id.html
function checkLogin() { var form_name = new Array(‘txtUserName’,’txtPassword’); var display_name = new Array(‘User Name’,’Password’); var count = 2; if(check_login(‘frmLogin’,form_name,display_name,count)) { } else { return false; } } function check_login(form_name,f_name,d_name,c_array) { var incre=0; for (incre=0; incre
i want brief explanation for this.need a full details about the avoid hacking.
Am trying to lot of techniques for avoid hacking.but no one working.but you are give me a best solution for me.
These steps are enough to getting website for avoid hacking.
Nowadays Hackers plays in every critical information. We should aware from hackers by using your techniques.
Hackers job is to do exploits the weakness of a computer and its network. Hackers can able to steal a computer from the other users as well. They are simply called as Criminals…
An internet is spread all over the world and all type of peoples can easily used this service. Also hacking is developed like internet too. So keep away from hacking is more important one for all online users.