[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: which module for this purpose?


Clinton's approach may be better (with PerlAccessHandler). Try that approach first...

Basically to return a file content over there's not much work to be done:
1. Set the content mime type to octet/ application
2. open a file for reading as you normally would - via the open() and close() functions
3. convert to base64 and send it over


Jen mlists wrote:
2007/6/14, Foo JH <suppressed>:
Otherwise it will load the file specified in the uri and
send it back.

Then how can I "load the file and send it back" under modperl?Do I
need to call some routines like socket read/write?
Please show me more details.Thanks a lot.


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.