coldfusion cfhttp to PHP

Viewed 1235

I've designed a website Im running for a sports team I coach in Wordpress (more specifically PHP). For the past few years we have used an online web service that runs a stats based program in Coldfusion. They recently opened up a feed so users can use there own customized websites with their data implemented in it.

They provided me with a feed like so (not going to provide my details for security reasons):

<cfhttp url="http://datafeed" method="post" result="result">
            <cfhttpparam type="formfield" name="seasonID" value="29725">
            <cfhttpparam type="formfield" name="codekey" value="mycodekey">
<cfhttpparam type="formfield" name="showGameType" value="RS">
</cfhttp>

I have no experience with Coldfusion what so ever and I've tried to do some reading about using this in a PHP environment but everything I tend to find is PHP to Coldfusion, not the opposite.

Because of this I come to stack, Im not entirely sure how this would work within PHP but would cURL be the answer? Ideally Id like to just create a couple wordpress functions and call them on my template pages.

2 Answers
Related