php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "CSRF"

Are there any potential security risks associated with using tokens in PHP forms?

Using tokens in PHP forms can help prevent CSRF (Cross-Site Request Forgery) attacks by generating a unique token for each form submission and verifyi...

Why is it recommended to use $_POST instead of $_REQUEST in PHP form submissions?

Using $_POST instead of $_REQUEST in PHP form submissions is recommended for security reasons. $_POST only retrieves data sent through the HTTP POST m...

Why is it not recommended to delete data using GET requests in PHP?

It is not recommended to delete data using GET requests in PHP because GET requests are meant to retrieve data, not modify or delete it. Using GET req...

What potential security risks are associated with using $_REQUEST in PHP code for form handling?

Using $_REQUEST in PHP code for form handling can pose security risks such as vulnerability to cross-site request forgery (CSRF) attacks and potential...

What are alternative methods, such as using links with GET parameters, for deleting database rows in PHP?

When deleting database rows in PHP, it is common practice to use a form with a POST request to ensure security and prevent accidental deletion. Howeve...

Showing 586 to 590 of 618 results

‹ 1 2 ... 115 116 117 118 119 120 121 122 123 124 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.