php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "dangerous characters"

What function can be used to escape potentially dangerous characters when inserting data into the database?

To escape potentially dangerous characters when inserting data into the database, you can use the mysqli_real_escape_string function in PHP. This func...

What are some potentially dangerous characters to watch out for in user entries in PHP applications?

Potentially dangerous characters to watch out for in user entries in PHP applications include special characters such as single quotes ('), double quo...

How can one ensure that user input in a CSV file does not contain dangerous characters like tab or carriage return?

To ensure that user input in a CSV file does not contain dangerous characters like tab or carriage return, you can sanitize the input by removing thes...

How can dangerous code from user inputs be removed when outputting them in PHP?

To remove dangerous code from user inputs when outputting them in PHP, you can use the `htmlspecialchars()` function to escape special characters that...

How can dangerous scripts be prevented from being inserted into text using TinyMCE?

To prevent dangerous scripts from being inserted into text using TinyMCE, you can use the `valid_elements` setting to restrict the types of HTML eleme...

Showing 1 to 5 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.