The 5th Annual China PHP Conference

Voting

Please answer this simple SPAM challenge: min(four, seven)?
(Example: nine)

The Note You're Voting On

lupti at yahoo dot com
13 years ago
I find using file_get_contents with php://input is very handy and efficient. Here is the code:

$request = "";
$request = file_get_contents("php://input");

I don't need to declare the URL filr string as "r". It automatically handles open the file with read.

I can then use this $request string to your XMLparser as data.

<< Back to user notes page

To Top