What are the security measures we have to take for our site
not to hack by others.

Answer Posted / harish singh

Use addslashes and stripslashes function to insert value in
the database. If possible always use abstraction layer for
database interaction to avoid sql injection.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you connet mysql database with php?

530


Is php dead 2019?

541


How could I install codeignitor ?

1743


What is the purpose of break and continue statement?

526


How to access a specific character in a string?

500






Tell me what is the actually used php version?

567


How can we make a constant in php?

556


What's php?

633


Does php has a future?

495


How to get elements in reverse order of an array in php?

571


What is inheritance in php? How many types of inheritance supports php?

533


What is an anti csrf token?

506


Php program to generate fibonacci series?

551


What is the role of the .htaccess file in php?

550


How can we execute a php script using command line?

528