php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "external entities"

How can htmlentities() be used effectively in PHP to convert special characters to HTML entities?

When displaying user input on a web page, it is important to convert special characters to HTML entities to prevent cross-site scripting attacks. The...

What are the best practices for handling one-to-many relationships in Symfony2 forms when creating new entities?

When creating new entities with one-to-many relationships in Symfony2 forms, the best practice is to use a form type for the parent entity that includ...

What are the best practices for handling entities and escaping characters in PHP DOM manipulation?

When working with entities and special characters in PHP DOM manipulation, it is important to properly handle them to prevent security vulnerabilities...

How can PHP code be preserved without being altered by HTML-Entities in a CMS like Typo3?

When PHP code is embedded in a CMS like Typo3, the HTML-Entities function may alter the code, causing it to break. To preserve the PHP code without be...

How can PHP developers convert HTML entities like "& # 2 1 4 ;" back to their original characters like "Ö" in a database context?

When storing HTML entities like "& # 2 1 4 ;" in a database, PHP developers can use the html_entity_decode function to convert them back to their orig...

Showing 46 to 50 of 6277 results

‹ 1 2 ... 7 8 9 10 11 12 13 ... 1255 1256 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.