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

contact form - output to page and email
I have the following in my controller:

$message['name'] = htmlentities(strip_tags(trim($_POST

Multiple Dropdown Selections
I have a form that let's a user insert a page with the ability to select categories. I want them to

Material Master Update through BAPI - Follow up material not updated
Hi Experts,

I am updating the material master through a custom transaction using the BAPI

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

I need to pull data for clien

Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,

passthru() help
Hi everyone,
I'm new to the forum and to PHP. I have some pretty good experience writing shell sc

Coding Critique
I was hoping someone could take a second and look down my code and see if they see any problems with

Undefined index: username HELP NEWBIE
I am trying a simple login/logout for my website. It works well with checking if the username exists

Advice on how to delete a mysql row using my form
Hi,

I am very new to php and am struggling to work out how to delete a portfolio item (a row

utf8_general_ci error ??
I have all kinds of data to be inserted in database table

//I am getting this error

Yo

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