Here is a good example this get's a dilbert comic out of a CFHTTP string:
<CFHTTP URL="http://www.unitedmedia.com/comics/dilbert/"; METHOD="GET"
        RESOLVEURL="Yes">
<cfset index =
Find("http://www.unitedmedia.com/comics/dilbert/archive/images/dilbert",CFHT
TP.FileContent)>
<cfset MyURL = Right(CFHTTP.FileContent,(len(CFHTTP.FileContent)-index)+1)>
<cfset index = Find(">",Variables.MyURL)>
<cfset MyURL = Left(MyURL,index-2)>


-----Original Message-----
From: Alii Design [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 10:23 AM
To: CF-Talk
Subject: CFHTTP??


How do I display a specific area of a CFHTTP request if I know where I want
the beginning and end to be?

Rich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to