Hello! I'm attempting to create a application that randomly generates strings and tags it on the end of http://youtube.com/watch?v=.... but the links it generates links to a non existant video. I noticed there are more capital letters in their URL's but that's the only difference I can see. Here is my PHP.
$charset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVQXYZ1234567890';
$url = substr(str_shuffle($charset), 0, 11);
$url = substr(str_shuffle($url.'_'), 0, 11);
echo $url;
It's a Ajax request so thats why it's being echoed.
http://ry.nardcake.com/
That is what it does atm.
Anyways any ideas? Thanks for any help!