Re: [PHP] PHP question regarding Cold Fusion

2002-01-12 Thread Wandrer

At 09:43 PM 1/11/02 -0500, you wrote:
The tag I am talking about is CFHTTP.  This tag allows you to emulate the
posting of a form, but also allows you to capture the results of the post.
There are a couple of forms written in CF that connect to the merchant
account, check a credit card, for example, and then wait for the
approval/denial response.
Is there anything in PHP that can do this same kind of thing?  Any help
would be appreciated.

Check out Snoopy - http://snoopy.sourceforge.net/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP question regarding Cold Fusion

2002-01-12 Thread [EMAIL PROTECTED]


I believe another option is the CURL library module for PHP.

see manual:

XII. CURL, Client URL Library Functions

bvr.

On Sat, 12 Jan 2002 09:01:39 -0500, Wandrer wrote:

At 09:43 PM 1/11/02 -0500, you wrote:
The tag I am talking about is CFHTTP.  This tag allows you to emulate the
posting of a form, but also allows you to capture the results of the post.
There are a couple of forms written in CF that connect to the merchant
account, check a credit card, for example, and then wait for the
approval/denial response.
Is there anything in PHP that can do this same kind of thing?  Any help
would be appreciated.

Check out Snoopy - http://snoopy.sourceforge.net/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP question regarding Cold Fusion

2002-01-11 Thread Jeremy Reed

Cold Fusion, as far as I'm concerned, stinks.  However, I have been involved
in porting a website from Cold Fusion to PHP and during this
transmogrification, I've come across something I'm not sure how to emulate
in PHP.  Perhaps if there are any CF/PHP gurus out there, they can help me
out.

The tag I am talking about is CFHTTP.  This tag allows you to emulate the
posting of a form, but also allows you to capture the results of the post.
There are a couple of forms written in CF that connect to the merchant
account, check a credit card, for example, and then wait for the
approval/denial response.

Is there anything in PHP that can do this same kind of thing?  Any help
would be appreciated.

Best regards,

Jeremy Reed



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP question regarding Cold Fusion

2002-01-11 Thread Rasmus Lerdorf

Google for something called PostToHost I wrote ages ago.  Lots of
variations of that around.  Basically you just fsockopen() to the site in
question and fputs() your request and POST data and then fgets() the
result.

-Rasmus

On Fri, 11 Jan 2002, Jeremy Reed wrote:

 Cold Fusion, as far as I'm concerned, stinks.  However, I have been involved
 in porting a website from Cold Fusion to PHP and during this
 transmogrification, I've come across something I'm not sure how to emulate
 in PHP.  Perhaps if there are any CF/PHP gurus out there, they can help me
 out.

 The tag I am talking about is CFHTTP.  This tag allows you to emulate the
 posting of a form, but also allows you to capture the results of the post.
 There are a couple of forms written in CF that connect to the merchant
 account, check a credit card, for example, and then wait for the
 approval/denial response.

 Is there anything in PHP that can do this same kind of thing?  Any help
 would be appreciated.

 Best regards,

 Jeremy Reed



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP question regarding Cold Fusion

2002-01-11 Thread Philip Olson

On Fri, 11 Jan 2002, Rasmus Lerdorf wrote:
 Google for something called PostToHost I wrote ages ago.  Lots of
 variations of that around.  Basically you just fsockopen() to the site in
 question and fputs() your request and POST data and then fgets() the
 result.

With one variation being sendtohost()

  http://dodds.net/~cardinal/sendtohost.txt

regards,
Philip Olson


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]