Code: Select all
$file_type = $_FILESї'userfile']ї'type'];...except every time it goes to this it stops.
Code: Select all
ELSEIF ( $file_type != "e;image/gif"e; OR $file_type != "e;image/bmp"e; OR $file_type != "e;image/pjpeg"e; ) // File_Type not JPG, BMP or GIF
{
print "e;<table width='$titlewide' $border>"e;;
print "e;<tr height='160px'>"e;;
print "e;<td align='center'>"e;;
print "e;<b>File type needs to be JPG, BMP or GIF.</b>"e;;
print "e;<p>Want to go back to the <a href='member_manage.php?action=edit_avatar'>edit avatar</a> page?"e;;
print "e;</td>"e;;
print "e;</tr>"e;;
print "e;</table>"e;;
}