I would like to package some files to download this, but all files are content in Database, How can I get it to package?
Ex:
I save file name: test.doc, test.xsl in mysql Database by DataBloc
And now I want to get all files and package to package1.tar (content test.doc and test.xsl) to download it.
How can I package? Help me please.
Thanks!
Package with file loading from database.
Moderator: General Moderators
-
Bennettman
- Forum Contributor
- Posts: 130
- Joined: Sat Jun 15, 2002 3:58 pm
header() has a lot of content on doing this.
The basic idea is that you set headers to tell the browser the type of file it is, and then load the package content in from the database.
The basic idea is that you set headers to tell the browser the type of file it is, and then load the package content in from the database.
Package with file loading from database.
I would like to package some files to download this, but all files are content in Database, How can I get it to package?
Ex:
I save file name: test.doc, test.xsl in mysql Database by DataBloc
And now I want to get all files and package to package1.tar (content test.doc and test.xsl) to download it.
How can I package? Help me please.
Thanks!
The Header() is support to download, I want add to package before download!
Ex:
I save file name: test.doc, test.xsl in mysql Database by DataBloc
And now I want to get all files and package to package1.tar (content test.doc and test.xsl) to download it.
How can I package? Help me please.
Thanks!
The Header() is support to download, I want add to package before download!
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact: