Re: PHP question regarding Cold Fusion
| From: | Rasmus Lerdorf | Date: | Sat, 12 Jan 2002 02:48:17 +0000 |
| Subject: | Re: PHP question regarding Cold Fusion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80259@lists.php.net to get a copy of this message | ||
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>