php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "data escaping"

In cases where escaping functions in PHP behave unexpectedly, what troubleshooting steps can be taken to identify the root cause of the problem and find a solution?

When escaping functions in PHP behave unexpectedly, the root cause of the problem can often be related to incorrect input data or improper use of the...

How can PHP DOM functions handle escaping characters like <&>" automatically?

PHP DOM functions can automatically handle escaping characters like <&>" by using the `createTextNode` method to create text nodes within the DOM. Thi...

When should escaping be used in PHP code?

Escaping should be used in PHP code whenever user input is being displayed on a webpage to prevent potential security vulnerabilities such as cross-si...

Is it advisable to rely on automatic escaping mechanisms like magic_quotes_gpc, or is manual escaping or the use of PDO with prepared statements preferred?

It is not advisable to rely on automatic escaping mechanisms like magic_quotes_gpc as they are deprecated and can lead to security vulnerabilities. Ma...

What are some common mistakes to avoid when escaping characters in XML data fetched from a MySQL database using PHP?

When escaping characters in XML data fetched from a MySQL database using PHP, common mistakes to avoid include not properly encoding special character...

Showing 31 to 35 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.