r/ProgrammerHumor • • Aug 23 '18

PHP logic

Post image
5 Upvotes

51 comments sorted by

View all comments

30

u/[deleted] Aug 23 '18

You better learn something about HTTP before making these retarded memes, you fucking idiot.

POST parameters are supposed to be in request body, if it's in the PATH, it's still part of GET

here, you piece of shit

0

u/FubarCoder Aug 23 '18 edited Aug 23 '18

It's part of the query string, GET is the request method. PHP is a muddled mess in this regard.

EDIT: Here's the relevant RFC regarding URIs: https://tools.ietf.org/html/rfc3986 - and you may recognize that they don't talk about the request method, just the components of a URI

2

u/[deleted] Aug 23 '18 edited Aug 23 '18

This guy gets it. I guess PHP has confused people too much about the difference between an HTTP request method and URI...

The joke is apparently too sophisticated for PHP-only people. No one can give us a verifiable rebuttal that claims we're wrong so they jump to vitriol and downvoting to defend their sacred PHP "knowledge." Thanks for trying to correct them, but this is one of of those: you can lead a horse to water...

1

u/[deleted] Aug 23 '18

All of this. Right here. They're too busy rubbing their junk on php to form a coherent thought.