I have a perl site which authenticates the user. As part of the application I would like to have Perl find and open a document (PDF) that is in a .htaccess protected folder for that customer.
The problem is that since I have already authenticated the user, he shouldn't have to be presented...
Thanks chazoid,
That worked great! I tested several files in each file type and was able to open them just fine.
You're more of an expert than you thought. :)
I am using the html <INPUT Type="file" name="document"> tag to upload files via Perl to a directory.
Text and HTML files upload fine, but .doc and .pdf files somehow get corrupted. The file size is the same, but it will not open or opens but is blank.
The Perl for writing...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.