Limiting uploaded file type


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

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
50 Like 19 Dislike
Previous forums Next forums
Other forums

Form File Upload
I've read through tons of resources and tutorials and as far as I can tell, my code is accurate, but

Filtering Tables
Hello Thanks for any help any one can give Im very new to PHP..

I need to pull data for clien

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

selection tool on raster image
Hi!
I have to implement in my app a selection tool which lets users to select region of any shape

php mailer
How can i send a mail to large no, say 50,000 reciepients using [color=#0000FF]php mailer[/color]

Redirect not working after making a POST/GET
Hi Everyone,

I am a novice in PHP. Here I have 2 pages, one page with a textbox and button an

building a function with multiple outputs
I want to build a function that has multiple outputs.

I know but am not to sure how I should

a dificult string search
Hi I don't know a way around this. I want the user to input a password, but to make it a bit complca

Is there something wrong?
Hi all,

Just a quick question... can someone look at this code and see if something is wrong?

If a form submits back to same page do you need to use $get
IM trying to pass page number and year that was selected back to the same page.

i have this c

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