[thelist] POSTing data with PHP

chris evolt at acetekit.com
Wed Aug 18 11:26:19 CDT 2004


Couldn't this be accomplished by coding in the POST request manually?

Such as:

    $fs = fsockopen('paypal.host.dom', 80, $intErr, $strErr, $intTimeout);

    fputs ($fp, $strPost);

...etc....etc


Saves messing around with 3rd party stuff which may or may not be 
reliable/trustworthy.

Cheers!



Peter Van Dijck wrote:

> I need to POST data (to PayPall) from within a PHP script (so there is 
> no html form). I was trying to figure out how to do that, I think I've 
> seen a class for that once? What's the best approach - I'm a bit lost?
>
> Thanks for any tips!
> Peter
>
>



More information about the thelist mailing list