php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "asterisks"

How can the issue of fields being filled with asterisks after submitting an empty form be resolved in PHP?

Issue: When submitting an empty form in PHP, the fields are often filled with asterisks as a security measure to prevent sensitive information from be...

How can one toggle between displaying a password input field as text or as dots/asterisks in PHP?

To toggle between displaying a password input field as text or as dots/asterisks in PHP, you can use JavaScript to dynamically change the input type a...

How can PHP developers efficiently replace bad words with asterisks in a given text file using PHP functions?

One efficient way for PHP developers to replace bad words with asterisks in a given text file is to read the file content, use the str_replace functio...

How can specific words be blocked from being entered in a PHP guestbook?

To block specific words from being entered in a PHP guestbook, you can create an array of banned words and then check the user input against this arra...

How can PHP be used to implement a badword filter function in a forum or guestbook?

To implement a badword filter function in a forum or guestbook using PHP, you can create an array of banned words and then use the `str_ireplace()` fu...

Showing 1 to 5 of 9 results

‹ 1 2 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.