Creating an upload page to upload files to server ?

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
Paul Moran
Forum Newbie
Posts: 1
Joined: Tue Aug 19, 2003 5:46 am
Location: Sydney, Australia

Creating an upload page to upload files to server ?

Post by Paul Moran »

Hi All,

I was wondering of there are any tutorials that you could point me towards that will help me learn how to create a page that lets a logged in user (from a vBulletin forum) upload a file to a predefined folder on a my server ??

Also, id like to be able to check/verify file size and type before uploading it ;)

Cheers for any help offered!!

Paul
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

here's a tutorial:

http://robouk.mchost.com/tuts/tutorial. ... fileupload

hope that helps...

-Nay
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

$_FILES is populated mostly byt the client computer. the 'tmp_name' is the name it got uploaded to. size is the filesize in bytes. i believe everything else is done by the client
Post Reply