Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gets but doesn't Post

Status
Not open for further replies.

tanderso

IS-IT--Management
Aug 9, 2000
981
US
Weird problem which arose out of nowhere. Suddenly information which is POSTed to my script is not being captured, however it is captured via the GET method.

In other words, script.pl?var=1 works correctly however
Code:
<form method=&quot;post&quot; action=&quot;script.pl&quot;><input type=&quot;text&quot; name=&quot;var&quot; value=&quot;1&quot;></form>
does not.

This just happened, and I know of nothing which changed to cause it. I've tried both CGI_Lite and cgi-lib.pl and it occurs in both, so it's not the external library. The script is called correctly, however the parameters are simply missing.

Any ideas? [sig]<p> Sincerely,<br><a href=mailto: > </a><br><a href= Anderson</a><br>CEO, Order amid Chaos, Inc.<br>
[/sig]
 
Assuming no disconnects between var names in the inputs and such basic things....
The only idea that occurs to me is that the web server may have that method disabled. Seems a little strange to do that, out of the blue, with no warning, huh? [sig]<p> <br><a href=mailto: > </a><br><a href= > </a><br> keep the rudder amid ship and beware the odd typo[/sig]
 
Hey GB, yeah it was weird, and still is. Turns out that setting my
Code:
<base href=&quot;&quot;>
to oac-design.com instead of has strangely fixed my problem. Don't know why that would be a problem. [sig]<p> Sincerely,<br><a href=mailto: > </a><br><a href= Anderson</a><br>CEO, Order amid Chaos, Inc.<br>
[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top