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

How to generate a random array of integers subject to a certain constraint
I am writing a program that asks the user to enter an integer N and then generates a random array of

Export hangs
Hi all, please help

I have a Oracle 10.2.0.3.0 database. When I want to query the dba_segmen

Help with translating C code into assembler code
Hi im doing a project that moves a robot around a maze avoiding walls and need some help with conver

login to other site by sending post variables
hey,

here is my problem: my school gave me a mail account for school-stuff use. they mail us

help with calculations on a flat text file
hello,
I have this code below that is attached to a flat file like this:
Email:LastName:FirstN

Save username into DB
OkaY so I got my blog to actually save the posts and whatever, all I need now is for it to keep the

Multidimensional $_POST
Hello

How to get a single array from array of array (2 - dimension).
For example I have a

Error when call dll from oracle
Hi all, please help me!

I have dll write C language, I want call it from oracle procedur

Session problem?!?
Hello All! I am very new to the php world but I am working on fixing things that a previous programm

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

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