Uploading folders using 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
umcookeg
Forum Newbie
Posts: 10
Joined: Mon Dec 22, 2003 10:16 am
Location: Winnipeg, Canada

Uploading folders using PHP

Post by umcookeg »

Hi,
I would like to build a function that will allow a user to upload a folder and that folder will either be stored in a mysql database or in another folder on our web server. Does anyone know if this can be done and if so how?

I have a class that uploads files no problem but know I was told to build on our upload page the capability to upload entire folders. HMMMMM


Thanks in advance

umcookeg
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

last I checked uploads over the web worked for individual files only.. they could compress the folder into an archive, like a zip, and the server could decompress it..
User avatar
PrObLeM
Forum Contributor
Posts: 418
Joined: Sun Mar 07, 2004 2:30 pm
Location: Mesa, AZ
Contact:

Post by PrObLeM »

feyd wrote:last I checked uploads over the web worked for individual files only..
Still true to this day
feyd wrote: they could compress the folder into an archive, like a zip, and the server could decompress it..
Prolly the best way todo that.
umcookeg
Forum Newbie
Posts: 10
Joined: Mon Dec 22, 2003 10:16 am
Location: Winnipeg, Canada

Folder uploads

Post by umcookeg »

Thanks guys I thought so but I just wanted confirmation. The idea about zipping the folder is the option I will pursue.

Thanx
Post Reply