|
-
Nov 9th, 2002, 12:02 PM
#1
Thread Starter
Junior Member
Creating zip files and attaching to e-mail
If I create a file (say ASCII text) from user input using PHP, is there a way PHP can
1) convert this to a ZIP file
2) make the ZIP file an attachment to a reply e-mail?
Any advice would be appreciated.
Regards
Peter
-
Nov 9th, 2002, 12:41 PM
#2
Stuck in the 80s
The only way PHP can manipulate ZIP files is through read-only operations. So inherently, there's no way to do it.
But it be possible to write some extensive compression code to create the zip file, then just save it to the tmp folder, after which it can be attached to an e-mail.
Someone probably has already done this. I'd suggest searching the web and sites like www.phpbuilder.com for code.
-
Nov 28th, 2002, 10:44 AM
#3
New Member
use system command for start zip program
Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
-
Nov 28th, 2002, 05:30 PM
#4
Stuck in the 80s
Originally posted by serg4444
use system command for start zip program
Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
huh?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|