if (isset($_POST['myField]) && $_POST['myField'] == 1)
//Proceed with the rest
echo 'Some Error';
You can use the $_FILES array to access the uploaded file. See this page for more information and sample code: »www.php.net/manual/en/features.f···thod.php
reply to Nordy PHP manages all the plumbing / decoding for you. You don't have to deal with it.
reply to Nordy In the end the $_FILES thingy did the job. Thanks, both of you.