Hello,

On 06/24/2003 07:36 AM, Twsc Hq wrote:
Is it possible to write to files on a server via a browser, then zip those
files up and email them to the user?

Detail:
I want to enable my website visitors to customize a php script with their
details, all via field inputs. Write that personal info into the script
files << upto here it's easy >> but how does the server zip the package up,
email the package to the visitor and reset the values for the next user?

Usually you call the zip program from your PHP script. You may want to look at several classes here that do that.


http://www.phpclasses.org/browse.html/class/42.html

As for sending it by e-mail, you may want to take a look at this class for composing and sending messages with attachments:

http://www.phpclasses.org/mimemessage


--


Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to