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...

Tell me how can we automatically escape incoming data?

Answer Posted / Amol Kumar

In PHP, you can use functions like n`htmlspecialchars()`, `addslashes()`, and `escapeshellcmd()` to automatically escape incoming data depending on the context (HTML, SQL, command line).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hello all, I need some sample placement papers in lion bridge.. can anyone help me?

2155


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

1063


how to detect a mobile device using php

1162


Explain me is it possible to destroy a cookie?

1009


Write a program using while loop?

1102


What is trait in php?

1053


Name and explain five of the PHP error constants?

1017


What is difference between static and final in php?

1074


How to create a web form?

1094


What is the difference between htmlentities() and htmlspecialchars()?

1076


sort term descripttion form, report and uery

2252


How to calculate the difference between two dates using php?

1120


Tell me what kind of things have you done on the social side?

1051


What sized websites have you worked on in the past?

1071


List some features of php that are deprecated in php7?

1012