Adding to what Miles says, use the fopen and fread commands (see manual on
the PHP site) for accessing the PDF files so that you can send copies of
them to the user.  Examples are in the user comments of the manual.

> -----Original Message-----
> At 05:42 PM 8/5/2004, Aaron Todd wrote:
> >So far I have made this work.  But now I have to ask...what about a pdf
> >file?  I cant add php code to it so what do I do.  I need to be able to
> >restrict the pdf so a user can only get to it during a current session.
> >
> >Thanks again for all the previous posts.  You all directed me to a good
> >place.  My pdf files sliped my mind when I posted.  I should have added
> this
> >problem before.
> >
> >I hope it can still be done.
> >
> >Thanks,
> >
> >Aaron
> <snip>
> 
> Put the directory containing the .pdf's outside the web tree (webroot &
> descendants).
> 
> Miles

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

Reply via email to