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 wOOdy-Soft 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
I asked this in the CGI-bin forum as well, but I'd like to cross-polinate here in case some of you don't read that forum.

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]
 
I think I fixed it. Changing my <base href=&quot;&quot;> statement from to oac-design.com without the to have caused the POST statements to work again. Now, I have no idea why that would effect it, but it seems to have been the problem. It should be resolved at the nameserver to the same IP, and in fact the script is called correctly either way, but doesn't post the parameters correctly with the www. Weird. Does anyone know why that would be the case? [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