Sure...
<cfhttp url="http://server/myPHP.php4" action="post">
<cfhttpparam name="expectedPHPVar" value="#myVar#" type="url">
</cfhttp>
<cfset myVar = cfhttp.filecontent>
type can be:
Header
CGI
Body
XML
File
URL
FormField
Cookie
cfhttp.fileContent contains the HTTP stream from the calling
webpage... so whatever your php page puts on the screen if called
directly from a browser is what will be in that specialized scope
variable.
For more information on cfhttpparam, see the CFMX LiveDocs pages for
cfhttpparam here:
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p59.htm#wp1100049
and for cfhttp here:
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p58.htm#wp1632966
If you need more info, please just ask!
Laterz,
J
--
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://cfobjective.blogspot.com
On Fri, 14 Jan 2005 17:56:46 -0600, Eddie Shipman
<[EMAIL PROTECTED]> wrote:
> Mind showing me a snippet of how to do it with a parameter and
> returning the results into the same variable that was passed as the
> parameter?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Captivate from House of Fusion, a Macromedia Authorized Affiliate and
support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=52
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190566
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54