From: Patrick May Date: 2004-11-09T10:28:35+09:00 Subject: Re: Query string ignored in http.post? Hello, On Monday, November 8, 2004, at 05:30 AM, Lloyd Zusman wrote: > As you now know from my follow-up to my own post, I solved the problem > by explicitly setting Content-Type to > application/x-www-form-urlencoded. > > This has to do with net/http, because as I mentioned, this occurs in > all > CGI's and servlets, not just in the php example that I gave here. And > no, QUERY_STRING is not being set. This is also true for all CGI's and > servlets, not just php programs. > > Furthermore, when I do the POST via the HTML
stuff that I > showed in my original message, the same php and all other CGI's and > servlets see QUERY_STRING being set, and the variables are available. > This no doubt causes the Content-Type to be properly set. Makes sense. Glad you figured it out, thanks for posting the fix. I was curious :-) Cheers, patrick