From: Aredridel Date: 2003-07-21T02:14:04+09:00 Subject: Re: Parsing POST and GET variables simultaneously? On Sun, 2003-07-20 at 11:10, james_b wrote: > David Heinemeier Hansson wrote: > > Isn't it possible to get variables from POST and GET simultaneously? > > Aren't they two distinct request types? You either do one or the other? One or the other, but: > I suppose you could POST to a URL that included a query string, grab the > POST data and explicitly parse the query string (the PATH_INFO cgi > variable, or maybe SCRIPT_NAME). It's not post and get at the same time, but a post can have a query string as well as post-data. There's also nothing that says that post has to take a URLencoded string -- some protocols on top of HTTP (DAV & company) use XML posted to a URL.