Yes, PHP can do pdf and can READ zip files.  I am not sure if PHP can make
the pdf unprintable, or locked.

You can find info on the pdf functions here:

and info on the zip functions here:

Since those are read-only functions, you could use exec() or system() to zip
your files.

Tyler Longren
Captain Jack Communications

----- Original Message -----
From: "Jason Caldwell" <[EMAIL PROTECTED]>
Sent: Sunday, April 07, 2002 12:57 PM
Subject: [PHP] PHP & .PDF & .ZIP ???

> I need to automatically create a .PDF file from a *dynamically created*
> file, then .ZIP that file up.  Then *ultimately* have that file attached
> an email and automatically sent.
> Can PHP do .PDF files?  .ZIP Files?
> The caveat on the .PDF file is; it also needs to be locked (or password
> protected) like an EBOOK, where the end user will not be able to copy and
> paste out the contents -- I'm considering them not being able to print it
> also-- just the ability to view it on the screen.  Can PHP help with all
> this?
> If so; if anyone has some sample code, that would be *very* helpful.
> Thanks.
> Jason
> --
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to