URL heads retriever script


This script is intended to retrieve HTTP Heads for specified Download URL by sending HTTP HEAD request to the server. It follows up to 2 redirects and displays all headers for each redirect in a separate array.


  1. Upload urlheads.php file on your server and open in your browser: http://www.yourdomain.com/urlheads.php
  2. Enter the full URL (including http://www) you want to get HTTP headers for.
  3. View results online.

Online DEMO


Download the script (2kb).

Valid XHTML 1.0 Strict Valid CSS!