file upload in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
danielbala
Forum Newbie
Posts: 9
Joined: Tue Jan 24, 2012 4:27 pm

file upload in php

Post by danielbala »

Hi..

im new to php..

I want know how to validation file upload


for example:

1.file-check the size and format like pdf

2.photo-check the size and format like jpeg,jpg,png,gif

Thx in Advance

please help me...
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: file upload in php

Post by Celauran »

I'd start by reading the PHP manual.
Gopesh
Forum Contributor
Posts: 143
Joined: Fri Dec 24, 2010 12:48 am
Location: India

Re: file upload in php

Post by Gopesh »

Check this link http://www.w3schools.com/php/php_file_upload.asp .It covers the basics of file uploading in php.Hope it helps
Post Reply