On Nov 5, 1:50 pm, Jeff McNeil <[EMAIL PROTECTED]> wrote:
> You could also just store the files outside of the document root if
> you don't want to worry about a database. Then, as Jeff said, just
> print the proper Content-Type header and print the file out.
>
> On Nov 5, 2007, at 8:26 AM, Jeff w
You could also just store the files outside of the document root if
you don't want to worry about a database. Then, as Jeff said, just
print the proper Content-Type header and print the file out.
On Nov 5, 2007, at 8:26 AM, Jeff wrote:
> Store the file in a database. When an authorized user
sophie_newbie wrote:
> Hi,
>
> I'm writing a cgi application in Python that generates a PDF file for
> the user and then allows them to download that file. Currently I'm
> just writing the PDF file to the 'htdocs' directory and giving the
> user a link to this file to download it. But the problem
Store the file in a database. When an authorized user clicks the
link, send the proper headers ('Content-Type: application/pdf') and
then print the file.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm writing a cgi application in Python that generates a PDF file for
the user and then allows them to download that file. Currently I'm
just writing the PDF file to the 'htdocs' directory and giving the
user a link to this file to download it. But the problem is that
another user could simply