Bananas Development Blog: share your thoughts

PHP raw Data

Hier mal eine Methode mit der man auf die "Raw" daten von einer Form ( mit method="post" zugreifen kann.
$test = file_get_contents('php://input');
var_dump($test);

Dabei kommt folgendes raus:
name=test&str=strasse


Wie also würde man method="get" machen.
  • No comments

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Trackbacks / Pingbacks

  • No Trackbacks