Ligaya Turmelle shine up and shows off a streams gem that she rediscovered - a simple method of sending a POST request and getting it's response:
Was reminded today of a gem from the streams extension - sending a POST message and getting its results. We could do it using cURL or sockets - but why work that hard. Being lazy does have its advantages after all.
The example she includes is one from the manual, showing how to take the array of data and push it out to the remote site with a few simple calls (including stream_context_create).