$url="http://gdata.youtube.com/feeds/api/videos?vq=$search&racy=include&max-results=50";
$ch = curl_init(); // initialize curl handle
curl_setopt($ch, CURLOPT_URL,$url); // set url to post to
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); // return into a variable
curl_setopt($ch, CURLOPT_TIMEOUT, 3); // times
$f = curl_exec($ch); // run the whole process
curl_close($ch);
^ That's downloading info from youtube's system. That's content scraping, which we don't allow. As I already added in your other ticket, you did indeed get a re-review and were found to be correct - the copyright infringing videos weren't hosted on your account. The downside is in the process I found youtube.php scraping content, which is also a permanent suspension.
Edit: And just to ram that point home:
"curl is a command line tool for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a busload of other useful tricks."
It is indeed a content scraper since it's transferring data.