Nothing stands out to me on cursory inspection except that you said it doesn't run. All scripts either run or they throw an error. Are you getting an error? If so, what is it? If you're not getting an error then try it with
PHP Code:
echo '<pre>',print_r($_FILES,true),'<pre>';
at the top of the script (but inside the <?php) to see what's actually being received. Then, you can compare it against what's in the code.
__________________
Jeremy Miller
Please login or register to view this content. Registration is FREE
|