php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "magic quotes"

What are the implications of the magic-quotes-gpc and magic-quotes-runtime settings in PHP on handling slashes?

The magic-quotes-gpc and magic-quotes-runtime settings in PHP automatically add slashes to incoming data from forms, which can lead to double escaping...

How can magic quotes in PHP cause issues with special characters like quotes and how can they be disabled?

Magic quotes in PHP can automatically escape special characters like quotes in incoming data, which can lead to double escaping and malformed data. Th...

How does magic quotes handle unmasking of character strings in the database when using addslashes()?

Magic quotes automatically adds slashes to incoming data, which can lead to double escaping when using functions like addslashes(). To handle unmaskin...

What potential security risks are associated with using Magic Quotes in PHP scripts?

Magic Quotes in PHP can introduce security risks by automatically adding slashes to incoming data, which can lead to double escaping and SQL injection...

What is the difference between magic quotes and addslashes() in PHP and when should each be used?

Magic quotes and addslashes() are both used to escape special characters in strings to prevent SQL injection attacks. However, magic quotes automatica...

Showing 1 to 5 of 2523 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 504 505 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.