Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?) From: Richard Lynch (rlynch <email protected>)
Date: 02/29/00

At 05:31 PM 2/29/00 -0500, you wrote:
>Hello
>
>I've read the manual/docs/faq and find no mention of this, but it seems
>it should be some thing that PHP can do?
>
>Problem:
>
>Our shopping cart (PHP3/PostgreSQL) needs to pretend to be a web client
>(browser) and
>make a "post" request to a credit card processing company, get the data
>back, then finish building it's own page.
>
>That is, how do I launch an outgoing web connection, retrive the data,
>and use that data to build a new page?

Presumably the credit card page is on an SSL server. I *think* PHP's
internal stuff and talking to socket 80 will then be wrong since, (A) you
need to talk to socket 443 (usually) and (B) you need the stuff encrytped.

cURL will do all of that for you. I dunno the URL, but it's mentioned here
frequently. Check the archives.

-- 
"TANSTAAFL"
We're looking for PHP/ASP hacker: http://ignitionstate.com/jobs/index.html
Need Work? Printer Driver: http://L-I-E.com/jobs.htm#PrinterDriver
I will be offline from March 8th through April 2nd.
http://CHaTMusic.com                       http://EmphasisEntertainment.com
http://L-I-E.com                           http://JadeMaze.com
http://CatCatalani.com                     http://MGMH.com
http://VoodooKings.net                     http://UncommonGround.com

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>