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

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

I need some help with the IF command...
I have a large number of images in one section of my website with the .jpg format. I'm adding a bun

User input in to variable
Hi all,

I'm sure this is very easy but I'm having another brain freeze!

At the end of

PHP page loading in Firefox but not in IE
hello,

i am currently doing a project in PHP and i have a problem. If I view the project in M

Retrieving the 25 most recently added entries from all tables in a MySQL databas
Hello,

The code below works great. It creates a table that shows the 25 most recently added t

Tree Menu
Hi guys,

Can anyone help me making a tree navigation system? I have a site where I'm allowin

trim function issues
Hi guys, total noob here...

So I've been tinkering around with a html and am using php to em

Please help - should be a simple fix.. driving me nuts
Everything seemed to be working fine. I have a table, it alphabetically lists a bunch of cities and

Creating a function
Basically i wanna put all this code in a seperate file

Code: <?php

Displaying data from MySql a different way
Hi all,
I'm pretty new to php and MySql and have hit a problem.

I am able to display data

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