NYCPHP Meetup

NYPHP.org

[nycphp-talk] making a manual http POST using a PHP client (USPSwebservices)

Adam Maccabee Trachtenberg adam at trachtenberg.com
Mon Jul 12 16:19:55 EDT 2004


On Mon, 12 Jul 2004, Hans Zaunere wrote:

> Yeah, but sockets are cool.  And yes, streams are very cool, but unless
> I'm writing in PHP 5, I wouldn't make extensive use of them in my code.
> Especially since file_get_contents() doesn't support contexts until 5,
> per the above example.

You're right. You can probably do most of it inside 4.3.x, but you may
need to fopen() and fread() the data.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!



More information about the talk mailing list
Automatic Email Organization without missing anything!