This new post on Chris Shiflett's weblog today talks about the Google Web Accelerator and PHP and some of the issues that have come up because of it.
You've probably heard about the new Google Web Accelerator, but if you're like me, you haven't bothered to try it out or give it much thought. After all, it can't possibly be worth running Windows. If you develop PHP applications, however, you might want to pay attention.
There is a particular section of the HTTP specification that is frequently violated (Section 9.1.1 of RFC 2616). [...] What does this mean? If you use $_REQUEST, rely on register_globals, or deliberately use $_GET to process a request that performs some action (other than retrieval), then you're violating the HTTP specification, because a GET request can potentially perform that action. If your page contains links that perform an action (when followed), then the Google Web Accelerator is going to cause you problems. You can already find complaints about this. Of course, the developers complaining are the ones to blame, not Google.
Though I'm in agreement with Chris on this one (the less "action" items on the GET string, the better), it seems that there are some in the comments that don't quite agree. They're keying off of the "should not" not being a "must not" in the spec, and make their point that sometimes, it's just easier to use $_GET...




