Limiting uploaded file type


Posted on 16th Feb 2014 07:03 pm by admin

Hi. First post here
I am working on a simple upload script, and I need it to limit the allowed file type that is uploaded to only .mpr files. .mpr files are not a MIME file type so I do not know how to limit it. Any ideas on what I should do?

Thanks!

No comments posted yet

Your Answer:

Login to answer
177 Like 48 Dislike
Previous forums Next forums
Other forums

Multiple submit forms inside a mysql array page
Hi all,

Im having trouble to get the beneath script to work the thing i can't seem to get wor

Text to picture Generator
Hello, i have found this script and it works really good^^ But i have one problem, i would like to c

Access database inside of a validation class
Hello,

For quite some time, I have been using functions to validate form input and access the

Need a fuction to count entries in a field
Hi
I need a fuction to count how many times a email address is entered in to a field.

I ma

code help - pagination
Hi all, I have this code, basically a user logs into my site and they get this page.

The pro

file downloaded can't be read !!
<?php
$fileName = 'mypic.jpg';
$mimeType = 'image/jpeg';
header('content-dispositio

Escaped characters
I have a script that allows you to post news to the home page of my site. Along with the news is the

links using header()
Hi All

I'm not sure where to ask for help on this but I hope someone can offer some. I'm at

add 20 000 to the rowcnt
Hi ...
I need to add 20 000 to the row count but just cant find a way to do this i am new to php

cPanel API
Hi Guys,

Need a little guidance. I'm trying to get my script to communicate with cPanel (or W

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash