PHP File Injection?
<p>I have a script that calls a bash script that does some processing, but the script calls the bash script using user inputed data.</p>

<p>I am wondering if there is a way to make sure the person (it's a file upload) doesn't append like <code>;cd /;rm -rf *</code> to the end of the file. Or anything else like that. Would a normal MYSQL Injection methods work? Is there a better alternative?</p>
