"; $ok=0; } //Here we check that $ok was not set to 0 by an error if ($ok==0) { echo "Sorry your file was not uploaded"; } else { //If everything is ok we try to upload it if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) { echo "The file ". basename( $_FILES['uploaded']['name']). " has been uploaded
"; echo '
Create XML (iso8859)'; echo '
Create XML (utf-8)'; echo '
Check validity for museum-digital import';
}
else
{
echo "Sorry, there was a problem uploading your file.";
}
}
echo '