Date: 02/29/00
- Next message: news.php3.net: "[PHP3] test, ignore"
- Previous message: Terry Mackintosh: "[PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- In reply to: Terry Mackintosh: "[PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Next in thread: Terry Mackintosh: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Reply: Terry Mackintosh: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You can use the fopen function to open a remote url. Does cc processor need to
have a POST request? If not, you could use :
$fp = fopen("http://www.php.net/ccCheck.html?var1=$var1&name=$var2", "r");
Michael
Terry Mackintosh 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?
>
> Terry Mackintosh <terry <email protected>> http://www.terrym.com
> sysadmin/owner http://www.shell-connection.com
> Proudly powered by R H Linux, Apache, PHP, PostgreSQL
> "If you don't know where you are going, how can you get there?"
>
> --
> 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>
-- 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>
- Next message: news.php3.net: "[PHP3] test, ignore"
- Previous message: Terry Mackintosh: "[PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- In reply to: Terry Mackintosh: "[PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Next in thread: Terry Mackintosh: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Reply: Terry Mackintosh: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

