upload only text files


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

hi guys i want to upload only text like like (pdf,note pad and ofiice files) so can any one please tell me how can i restrict that

No comments posted yet

Your Answer:

Login to answer
194 Like 30 Dislike
Previous forums Next forums
Other forums

Rounding a number queried from a database
I know that to display a rounded number you just do echo "round($number)";. But how would

Help With editting and deleting form
Hallo !!

So look at this image :

http://img194.imageshack.us/img194/8272/snapshot5f.pn

firefox wouldnt stream mp3 files completely from my php page
hi everyone,
I have a php file trying to read and stream mp3 files. It works fine in IE but my pr

Prevent PHP mail( ) from appending hostname to from address
Hey guys,

I want to be able to send texts to phones via email (since each phone has their own

Inserting a variable in a link
I have this code that I want to insert for my own variable but I have no idea how. This is what I wa

getAlexaRank($url) function not working
I have made a function to get alexa rank
the site is here: http://mytestsite.rack111.com/1

How to show next and prev records
Hi all,

Sorry if this is simple, i'm very new to php, well, any programming language actually

How to convert this array to string
I am having problems converting this array to a string
using print_r($val[1]); I get:
Code: [

Connection Timeout
I'm using xmii 12.0

I'm calling a transaction as a web service from a windows application

LSB (PHP 5.3) problem with static value!
hello,

i'm having a problem. static::$text variable gets lost at some point. can someone plea

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