i have this piece of code to starting uploading images:
Code: Select all
<?php
if ( $_FILES['img']['type'] == "image/gif" || $_FILES['img']['type'] == "image/pjpeg" )
?>when testing gifs, works well on both.
any ideas why this is not working?
thanks.