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
hello all, I need some sample placement papers in lion bridge.. can anyone help me?
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
how to detect a mobile device using php
Explain me is it possible to destroy a cookie?
Write a program using while loop?
What is trait in php?
Name and explain five of the PHP error constants?
What is difference between static and final in php?
How to create a web form?
What is the difference between htmlentities() and htmlspecialchars()?
sort term descripttion form, report and uery
How to calculate the difference between two dates using php?
Tell me what kind of things have you done on the social side?
What sized websites have you worked on in the past?
List some features of php that are deprecated in php7?