Beware! This post is more than 3 years old, it may be outdated or incorrect! Please check elsewhere for accurate information!
This is a simple YouTube download script that's stand alone, and it accepts the video URL as a query string, ex. ytdl.php?http://youtu.be/i5PSOhg-Lbc
This post was last updated on January 1st, 2014.