Podcast tests - test your server kit

Having spent some time developing the code for testing servers to see if they supported cURL on both local and remote addresses, and whether they might support the local only alternative mime_content_type(), I've decided to make the script available for anyone else who is having difficulty getting podcasts to work on Wordpress.

Just remember, I'm a self-taught programmer and I wrote and edited this code until it worked successfully on my server. I make no guarantee that it will work anywhere else. Use it at your own risk.

Please feel free to adapt and develop it, but please pass back your improvements so that others may benefit.

What it does

The script will attempt to identify the mime type and filesize of any file whose url you supply, using two techniques. If it fails, it will also attempt to explain why. For more details, see my previous post Podcast tests - conclusion.

Download

curl-test.zip

Instructions

  1. Download the package and unzip.
  2. Upload to the root of your web site.
  3. Open your browser and go to http://www.mysite.com/curl-test/ (where mysite.com is your own website)
  4. Follow the instructions on the page.