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

PHP Code To Change Font Color in Table Cell
I would appreciate help with the following snippet of my php code. I am just trying to change the f

dinamic "textboxes"?
Ey all, my first post here, i hope its not a hard one

I display mysql results in a table

Help with usergroups? prolly really quick
So were coding our own forums for a game system we made an we have the users level setup but now I n

mail with attachment problems
Hi. I have the following code:
Code: else if(file_exists("site".$timp.".zip")

What do you call the "token" thing?
You know how some sites have links that run on tokens? Tokens are links that only stay alive for a c

mail() says sent but no email received
My code is quite simple:

Code: <?php
$to = "Ty44ler@yahoo.com";
$subje

limit string by words??
hello all,

I was wonder if there is a function to limit a string by the number of words inste

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

Help? Need help on project with templates involving mysql and php.
I'm having a hard time explaining what I want but basically here is what I have in place:

-Da

Preg_match question
I want to use preg_match to make sure a string is always 6 characters long and only contains 0-9 and

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