Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

downloading multiple blobs as one file

 
   Database Forums (Home) -> PHP RSS
Next:  Surrogate Key Semantics  
Author Message
lambelly

External


Since: Nov 11, 2005
Posts: 1



(Msg. 1) Posted: Fri Nov 11, 2005 9:12 am
Post subject: downloading multiple blobs as one file
Archived from groups: alt>comp>lang>php (more info?)

I made a script for a friend which allowed the user to upload an image
file to a server which was then stored as a blob. However, I have not
come up with a good way to download the images other than downloading
them individually. Ideally, I would like to download them all as a zip
file or something like that. However, I don't know how to add blobs to
a zip file without using some sort of temp file to hold the blob. Is
there a good way to do this without having the physical files located
someplace on the server?

 >> Stay informed about: downloading multiple blobs as one file 
Back to top
Login to vote
ZeldorBlat

External


Since: Feb 28, 2005
Posts: 70



(Msg. 2) Posted: Fri Nov 11, 2005 9:50 am
Post subject: Re: downloading multiple blobs as one file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

PHP's zip file functions are read-only as far as I know:
<http://www.php.net/zip>
So you can only use those to read zip files -- not make them.

I think the simplest way (if not the only way) is to save each of your
images to temporary place on the harddrive (i.e. /tmp/images) then run
the appropriate command using exec(). You can then present the
resulting zip file to the browser.

 >> Stay informed about: downloading multiple blobs as one file 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Multiple file upload with progress bar - help me with multiple file upload, with progress bar (php,perl,jscript, ajax...) there's few bugs with "Mega upload", pop-up window is bad idea, sometime it's working smtm nt. tnx

how do you open a file with quote marks in the file name o.. -

Multiple login without db - I'm newbie. Just wonder, after googling for several hours: is it impossible to make a login script for, say, three different users and, after successfull login with username and password, redirect them to their destination (totally three destinations,...

xml has multiple tags with same name for different values .. - I am parsing xml responses from Amazon Web Service queries. The problem is, the doc contains elements like <lowestnewprice> <formattedprice>4.99</formattedprice> <amount>499</amount> </lowestnewprice> <lowe...

MS-SQL multiple connect problem - PHP 4.3/MS-SQL7/IIS5. At the start of every script, I include db.php which contains this: <? $db = mssql_connect('devbox','foo','bar'); mssql_select_db('[devsitedb]', $db) or die ("Couldn't open database connection"); ?> And then I pass...
   Database Forums (Home) -> PHP All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]