Kirby commented on a Page, /youtube - YouTube Video Download Alias  -  Jun 04, 2009

No, you [size=28]don't[/size] want to use:

elseif (!$wildtok($1,http://www.youtube.com/watch?v=*,1,32)) echo -a * Url specified was not valid. ...

because with the regex I put in, it does four things: Check to see if it's an actual YouTube URL, varies the different "types" of YouTube (as in countries), checks to see if the video ID matches 11 characters, and strips out any other & tags.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.