treaki/youtube2mp3 — pull request #1 by iggyvolz (2014-09-16 19:23:10+00:00)
Title: Use escapeshellcmd

escapeshellcmd is the correct function for preventing command-line injections. You may also want to use urlencode() if you want to limit to only youtube.com, and not allow other video sites.