Re: [PHP] automatic credit card processing
great! it works! thank you very much! this is the code which does exactly what I wanted: $ch = curl_init (); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_POSTFIELDS, RESP_FORMAT=1); $result= curl_exec ($ch); curl_close ($ch); cheerio Martin Towell wrote: either use curl, and set to option to return the results to you to on or use ob_start(), ob_get_contents(), etc -Original Message- From: Dominic [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 4:11 PM To: [EMAIL PROTECTED] Subject: [PHP] automatic credit card processing Hi all I try to automatically process cc payment. I use online clearing via a third party -- so what I have to do: 1. SSL-TCP/IP connection to this third party-server 2. perform basic http authentication 3. send authorization request parameters to the software (via POST or GET) 4. receive + parse authorization response 1-3 is not a real problem, but how can I receive the response, before it is printed out to the browser/screen? I know I should get the response string into a variable so the whole procedure is silent, but how? thanks a lot for every little help! cheers dominic -- dominic brander dominic brander - snowflake productions gmbh - http://www.snowflake.ch tel. 01 451 75 71 - fax. 01 451 63 80 - mobile 076 543 17 94 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] automatic credit card processing
Hi all I try to automatically process cc payment. I use online clearing via a third party -- so what I have to do: 1. SSL-TCP/IP connection to this third party-server 2. perform basic http authentication 3. send authorization request parameters to the software (via POST or GET) 4. receive + parse authorization response 1-3 is not a real problem, but how can I receive the response, before it is printed out to the browser/screen? I know I should get the response string into a variable so the whole procedure is silent, but how? thanks a lot for every little help! cheers dominic -- dominic brander dominic brander - snowflake productions gmbh - http://www.snowflake.ch tel. 01 451 75 71 - fax. 01 451 63 80 - mobile 076 543 17 94 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] automatic credit card processing
either use curl, and set to option to return the results to you to on or use ob_start(), ob_get_contents(), etc -Original Message- From: Dominic [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 4:11 PM To: [EMAIL PROTECTED] Subject: [PHP] automatic credit card processing Hi all I try to automatically process cc payment. I use online clearing via a third party -- so what I have to do: 1. SSL-TCP/IP connection to this third party-server 2. perform basic http authentication 3. send authorization request parameters to the software (via POST or GET) 4. receive + parse authorization response 1-3 is not a real problem, but how can I receive the response, before it is printed out to the browser/screen? I know I should get the response string into a variable so the whole procedure is silent, but how? thanks a lot for every little help! cheers dominic -- dominic brander dominic brander - snowflake productions gmbh - http://www.snowflake.ch tel. 01 451 75 71 - fax. 01 451 63 80 - mobile 076 543 17 94 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php