How to create a file upload/download form that requires user

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
dboulter
Forum Newbie
Posts: 1
Joined: Thu Apr 30, 2009 6:59 am

How to create a file upload/download form that requires user

Post by dboulter »

Hello

I am very new to all things Webdesign! But, I am a keen learner and no challenge is too small!!! My first task to get to grips with is configuring a form within my website that allows only authenticated users to be able to upload and download files. I'm assuming I need to create a mySQL db on my webserver that will hold the user accounts and then create a php script to call upon this database when required!
I guess the next question is, am I close? If so, how would I go about each step? And if I'm way off the mark would someone please point me in the right direction?

Gratefull of any responses, and thanking you for your time.

Darren
Yossarian
Forum Contributor
Posts: 101
Joined: Fri Jun 30, 2006 4:43 am

Re: How to create a file upload/download form that requires user

Post by Yossarian »

The implications of file uploading are best prepared for by reading the manual page. http://fr.php.net/manual/en/features.file-upload.php

Absolutely the best resource, tough going but you will learn a lot.

Why not get that going first, and it will chuck a lot of security issues up in your face, about checking error codes etc.

Then come back and tell us about your access control or login requirements?

Good luck with it.
Post Reply