Solved

" POST"  METHOD

Posted on 1998-09-05
5
218 Views
Last Modified: 2013-12-25
Though I am specifying FORM METHOD = "POST" in my HTML page, I am getting a CONTENT LENGTH = 0 in my CGI script, Checking on this I found that my environment variable REQUEST_METHOD is coming in as "GET" instead of "POST" !  This is happening when I am using IE4.0 as the browser. Can someone suggest a solution?
REGARDS,
JOHN
0
Comment
Question by:john_19
5 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1828547
post some code please
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1828548
Can you please post some code?  I posted this as an answser because there was no response to the comment.
0
 

Author Comment

by:john_19
ID: 1828549
I am using the FollowHyperLink method in VBScript to post
 information .

 .FollowHyperlink Address:=sURL, ExtraInfo:=sInfoToSubmit, Method:=msoMethodPost, HeaderInfo:="Content-type: application/x-www-form-urlencoded"
0
 
LVL 3

Expert Comment

by:johnpjohn
ID: 1828550
Can u give the complete script so we could look into it and help u out
0
 
LVL 1

Accepted Solution

by:
stormerider earned 20 total points
ID: 1828551
In your HTML code make sure you are using <FORM ACTION="<blah>" METHOD="POST"> If you dont use the "'s, IE may mistake it and default to GET. Stupid. =)
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question