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:
http://www.php.net/manual/en/ref.pdf.php

and info on the zip functions here:
http://www.php.net/manual/en/ref.zip.php

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

Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com

----- Original Message -----
From: "Jason Caldwell" <[EMAIL PROTECTED]>
To: <[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*
text
> file, then .ZIP that file up.  Then *ultimately* have that file attached
to
> 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 (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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

Reply via email to