Results 1 to 2 of 2
Thread: Zip Function question
Feb 26, 2003, 18:02 #1
- Join Date
- May 2002
- 0 Post(s)
- 0 Thread(s)
Zip Function question
I'm looking at setting up a photo gallery online where a user will upload photos via "zip".
I've checked out php.net and figure this is all I need as far as "theory":
[font=Courier New]$zip = zip_open( "myfile.zip" )
or die("Couldn't open zipfile.");
while($entry = zip_read( $zip ))
// do stuff with zipfile entries...
zip_close( $zip );[/font]
Basically, I just want a way for someone to upload a large number of photos via zip. Once on the server, I'll have this file unzipped and I'll create a set of thumbnails and regular size images for viewing. I'll do this during the While Loop.
I just want to know if I'm on the right track or if I'm missing something. All comments and suggestions are welcome.