php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "page request"

How can PHP developers ensure that a certain page can only be accessed through a specific referring page, such as Index.php?

To ensure that a certain page can only be accessed through a specific referring page, such as Index.php, PHP developers can check the referring page i...

Why might it be necessary to specify the request method (e.g., POST) in a cURL request made with PHP, even when no data is being transferred?

When making a cURL request with PHP, specifying the request method (e.g., POST) is necessary even when no data is being transferred because the defaul...

Are there any alternative methods to restrict access to a PHP page based on the referring page?

To restrict access to a PHP page based on the referring page, you can check the HTTP referer header in the request and only allow access if it matches...

How can a HTTP POST request be sent in PHP?

To send a HTTP POST request in PHP, you can use the cURL library which provides functions to make HTTP requests. You can set the request method to POS...

What is the purpose of the "referer" parameter in a PHP POST request and how should it be formatted?

The "referer" parameter in a PHP POST request is used to determine the URL of the page that referred the user to the current page. This can be useful...

Showing 36 to 40 of 10000 results

‹ 1 2 ... 5 6 7 8 9 10 11 ... 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.