php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "characters"

What are some best practices for echoing HTML code in PHP?

When echoing HTML code in PHP, it is important to properly escape any variables to prevent cross-site scripting attacks. One common way to do this is...

What are common issues with different character encoding in PHP when retrieving data from a database?

Common issues with different character encoding in PHP when retrieving data from a database include garbled or incorrectly displayed characters due to...

What are the potential issues with using variables inside HTML attributes in PHP?

Using variables inside HTML attributes in PHP can lead to potential security vulnerabilities like cross-site scripting (XSS) attacks if the variable i...

What are some best practices for handling password authentication in PHP forms?

When handling password authentication in PHP forms, it is best practice to securely hash the password before storing it in the database. This helps pr...

What are the risks associated with concatenating variables directly into HTML output, and how can these risks be mitigated in PHP scripts?

Concatenating variables directly into HTML output can make the code vulnerable to XSS (Cross-Site Scripting) attacks, where an attacker can inject mal...

Showing 9991 to 9995 of 10000 results

‹ 1 2 ... 1991 1992 1993 1994 1995 1996 1997 1998 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.