in reply to Re^3: CGI - Not getting POST Variables
in thread CGI - Not getting POST Variables

Header compression would certainly seem a logical culprit, I would try something like ethereal to sniff what is actually being sent by the client.

jdtoronto

Replies are listed 'Best First'.
Re^5: CGI - Not getting POST Variables
by vi_srikanth (Acolyte) on Aug 05, 2006 at 11:48 UTC

    Hi

    I do not have enough rights to install ethereal or tcpdump in the server :(

    By the way, I tried to print the STDIN value using the code

    read (STDIN, $form_info, $size_of_form_info); print TMP $form_info ;

    Here is its output:

    --AaB03x Content-Disposition: form-data; name='userfile'; filename='MofTestFil. +jpg' Content-Type: application/octet-stream Content-Transfer-Encoding: base64 ��JFIFHH�C ▒▒�C !2"� �}!1AQa"q#BR�$3br ▒▒%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�&#6 +5533;�������� +��������&#655 +33; �w!1AQaq"B #3Rbr $4�▒▒&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz&#6 +5533;�������� +��������&#655 +33; ?S(( +(((((((((( --AaB03x Content-Disposition: form-data; name='accemailid' --AaB03x Content-Disposition: form-data; name='comment' --AaB03x Content-Disposition: form-data; name='tag' --AaB03x Content-Disposition: form-data; name='privacy' Public --AaB03x--

    You can see that all the other form-data fields are empty! The whole values is in the first field! Any idea?

    Thanks
    Srikanth

      Your browser or html is broken