I'm trying to make it so people can submit documents through my website. I found the script below that allows them to submit jpegs, which is cool and it works, but not exactly what i need. What do I change in the following script that allows for that? I tried adding in document/doc, but that doesn't do it
<?php
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000))
I'm using that
<?php
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000))
I'm using that