Re: PHP & .PDF & .ZIP ???
| From: | Tyler Longren | Date: | Sun, 07 Apr 2002 18:42:07 +0000 |
| Subject: | Re: PHP & .PDF & .ZIP ??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91939@lists.php.net to get a copy of this message | ||
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
tyler@captainjack.com
www.captainjack.com
----- Original Message -----
From: "Jason Caldwell" <jason@thinkingman.org>
To: <php-general@lists.php.net>
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
>
>