Hi I wrote csv file database script. This use html templates to view record. This scripts running well - you can see demo here.(try Show all record hyperlink) But when I try to run them as SSI by this command:

this happened:

1. scipt is called and executed (I can see it in my log)
2. cripts print as output html code(which I also log into log file to see this code - it's allright)
3. but in html page from which I called script by SSI only part of this code is inserted.
It depend on lenght of generated html code. if its short nothing is entered on this position, if its long only part (I mean after 300 chars) is inserted.
BUT when I called scripts directly from url it generated right same code but all code is sent to browser.

My source scripts are at this page.
If you know what can cause this problem please help me. It will help not only to me but also to user who use this scripts and which report this problem to me. I test this bug on Sambar4.3 and 4.4 (www.sambar.com) web server and perl ActiveState 5.6.0.

Many thanks
Litin


In reply to SSI and perl script problem by LiTinOveWeedle

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.