Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is difference between python and php?

909


What are the php functions?

977


How to read the entire file into a single string?

940


What is preg_match?

907


What is the best way to change the key without changing the value of a php array element?

920


What are getters and setters and why are they important?

984


How do I stop a php script?

919


What is substr() in php? And how it is used?

992


Tell me how can we determine whether a variable is set?

875


What are the functions to be used to get the image's properties (size, width and height)?

940


Why should I store logs in a database rather than a file?

987


Inside a php function, what param needs to be set in order to access a global variable?

914


What is api laravel?

1025


In php how can you jump in to and out of "php mode"?

926


How to set cookies in PHP?

1043