php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "get_headers"

Are there alternative PHP HTTP clients that provide more functionality for extracting headers?

The built-in PHP function `get_headers()` is limited in functionality and may not provide all the header information needed. To extract headers with m...

In the context of PHP, how can one automate the detection of a 404 error page when fetching URLs?

To automate the detection of a 404 error page when fetching URLs in PHP, you can use the get_headers() function to retrieve the HTTP response headers...

What is the best way to check if a given website URL exists using PHP?

One way to check if a given website URL exists in PHP is by using the `get_headers()` function, which sends a HEAD request to the URL and returns the...

How can PHP be used to read external HTML files and determine their status?

To read external HTML files and determine their status using PHP, you can use the file_get_contents() function to retrieve the contents of the externa...

How can one check if a URL exists in PHP without downloading the entire file?

To check if a URL exists in PHP without downloading the entire file, you can use the `get_headers()` function to send a HEAD request to the URL and re...

Showing 41 to 45 of 103 results

‹ 1 2 ... 6 7 8 9 10 11 12 ... 20 21 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.