Hi

This is the dump:

$VAR1 = bless( { '' => [ '??JFIFdd?Duckyd?Adobed??? !1AQa"q#?BR??$ 3%C!1AQaq"??#?Rb 3r?$? ???R}}}+?@*U?S0+???y:???? +?tvY?Md?HC R(A\\6\'?O?m)@?k ?\\+??s?pa9?lR)?I6 ?Z*ZzisN?\'?~f, W??RQh?%@?z+J?e} ??+wR+X?k?:@fiD?pKSgM:?7$?/?+?(>W???s?ib??uS?I6L ?OT?>C?:X?Z)P?(@?+??Q +?>k?:|}:An4Qx?MP/C?IuL3 ?V?O?S??!UJ\'?Z?3j??u?w?-M???$????z+l??Mj?`i?Q?)N-?z?hwG? +?|t+?]8R??_?$???P|??6!0?\\+???,s7E8RM e�I.ꐋZj_M?�5� X?�, . . . More such junk . . 'ztjgj@jmj.com', '', 'Myapp', 'Public' ], '.parameters' => [ '' ], '.charset' => 'ISO-8859-1', '.etab' => 1, '.elid' => 1, '.fieldnames' => {}, '.header_printed' => 1, 'escape' => 1 }, 'CGI' );

I dont know why I am getting junk characters. Instead of calling the CGI program through CPP program, if I try through HTML form (Get or Post) the Dump seems to be perfect, i.e. I get all the parameters without any junk characters. Any idea?

Thanks
Srikanth


In reply to Re^2: CGI - Not getting POST Variables by vi_srikanth
in thread CGI - Not getting POST Variables by vi_srikanth

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.