I'm trying to pull information from a legacy system using cfhttp, but
I have run into a problem with one page which is called using forms on
another page. The structure of the forms are like this:

<FORM NAME="1234" METHOD="POST" ACTION="product.php">
<INPUT TYPE="IMAGE" SRC="images/product.jpg" NAME="1234">
<INPUT TYPE="HIDDEN" NAME="ID" VALUE="1916">
</FORM>

and the code I'm using is basically this:

<cftry>
        <cfhttp 
        url="http://www.some company.co.uk/product.php" method="post" 
resolveurl="yes" 
        throwonerror="yes" charset="iso-8859-1">
        <cfhttpparam name="ID" type="FormField" value="1234">
        </cfhttp>
        <cfcatch type="Any">
                <cfset productinfo = "Unavailable">
        </cfcatch>
</cftry>

Well as you may have guesses by now it's not working, I'm wondering if
I need to pass the form name as well but I can't work out how to do it
- can anyone help!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206853
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to