Ventrix’s Code Folds

Tag: post

Read all the raw data posted in a php script

by ventrix on Feb.04, 2009, under php

Read all the raw data posted in a php script

if ($_SERVER['REQUEST_METHOD'] == 'POST')
{
   $str = trim(file_get_contents('php://input'));
}
Leave a Comment : more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...