$UPLOAD_MAX_SZ]) { echo "File too large."; } else { if (move_uploaded_file($f['tmp_name'], $targetf)) { $cmd = escapeshellcmd( "$FILE_PROCESSING_CMD " . escapeshellarg($targetf) ); shell_exec($cmd); echo "Uploaded."; } else { echo "Error uploading."; } } } ?>