in reply to Print SHTML from inside Perl Script

using CGI but in testing it's redirected me before completing the file upload.

This sounds suspect -- perhaps you shouldn't print the header until you're finished processing the uploads

being able to execute those files SSI.

Lets see

cpan://SSI
needs mod_perl, Apache::SSI - Implement Server Side Includes in Perl
bingo CGI::SSI - Use SSI from CGI scripts, a loose imitation of Apache's mod_include.
negative review, no docs, ZM::SSI - SSI parser for CGI
http://search.cpan.org/search?query=SSI&mode=all
CGI::SHTML - a CGI module for parsing SSI

I would stick with mod_include, and fix my cgi program to handle uploads properly

  • Comment on Re: Print SHTML from inside Perl Script

Replies are listed 'Best First'.
Re^2: Print SHTML from inside Perl Script
by Praethen (Scribe) on Nov 10, 2011 at 09:33 UTC

    Ooo. Brilliant CGI::SHTML, I only found CGI::SSI and that was not helpful for my plight.

    I did figure I must be printing something prior to the redirect or some other weirdness so I've been debugging that, hoping I can clean it up.

    Thanks.