hi guys i got this codes for php
is supposed to allow all kind of images,text files(.txt) and zip but the zip and txt are not working
any hint ?
what am i doing wrong ?
thank in advance for any help
[php]
if ((($_FILES[“file”][“type”] == “image/gif”)
|| ($_FILES[“file”][“type”] == “image/jpeg”)
|| ($_FILES[“file”][“type”] == “application/zip”)
|| ($_FILES[“file”][“type”] == “image/png”)
|| ($_FILES[“file”][“type”] == “image/bmp”)
|| ($_FILES[“file”][“type”] == “text/txt”)
|| ($_FILES[“file”][“type”] == “image/pjpeg”))
&& ($_FILES[“file”][“size”] < 8388608))
[/php]
if you need the whole php file codes just let me know