I am having a real problem with the logic of the following IF statement:
Code: Select all
if (($uploaded_type != "image/jpeg") || ($uploaded_type != "image/png")) {
echo "You may only upload JPEG or PNG files.<br><br>";
$ok=0;
}The statement in the form above does not work... hope someone can help me fix the logic.
Thanks,
Mike