@Pinboard runkit allows custom superglobals, but it’s much better to use a registry class. Hard to explain in 140. LMK me if confusing.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@Pinboard https://gist.github.com/till/5431755 — most of the time, my DELETE don't have a body but use the URL ($_GET). But the same should do.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@Pinboard use parse_str() on file_get_contents(’php://input’)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@Pinboard PUT data comes in on the stdin stream: $putdata = fopen("php://input", "r"); (http://php.net ). DELETE action has no data. -
@pkeane DELETE action is allowed to have data - Show replies
New conversation -
-
-
@Pinboard I can't even get post data to reliably show up in $_POST instead of $_GETThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.