I'm not the brightest person in the world but here's a few ideas... lol
One what's the <!cfhttp for?
Two.. try making a variable cfhttp.filecontnet and loading it with test data
or use cffile to read it..
and three drop out all your content except the tag itself and
<cfoutput>#cfhttp.filecontent#</cfoutput>
Tony Hicks
----------
Search the Holy Bible: http://www.bibleclicks.com
----- Original Message -----
From: Mike cheese Lansing <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Saturday, September 22, 2001 4:53 AM
Subject: Re: CFHTTP [Authorization Error]
> CFHTTP page code
>
> <!cfhttp URL="http:\\www.firefighting.com\admin_Main.asp">
>
> <cfset HeadlinesArray = ArrayNew(1)>
> <cfset ar = #cfhttp.FileContent#>
>
> <cfloop index="headlines" from="1" to="3">
> <cfset rr = Find("<!--What's New List-->", #ar#, 1)>
> <cfset ar = RemoveChars(#ar#, 1, #rr# + 21)>
> </cfloop>
>
> <cfset rr = Find("<!--What's New List-->", #ar#, 1)>
> <cfset ar = RemoveChars(#ar#, #rr# - 156, Len(#ar#))>
>
> <cfset rr = Find("<a", #ar#, 1)>
> <cfset ar = RemoveChars(#ar#, 1, #rr# - 1)>
>
> <cfloop index="headlines" from="1" to="14">
> <cfset rr = Find("<img", #ar#, 1)>
> <cfset ahref = Mid(#ar#, 1, #rr# - 13)>
> <cfset ar = RemoveChars(#ar#, 1, #rr# - 1)>
> <cfset rr = Find('>', #ar#, 1)>
> <cfset ar = RemoveChars(#ar#, 1, #rr#)>
> <cfset rr = Find("</a>", #ar#, 1)>
> <cfset closea = Mid(#ar#, 1, #rr# + 3)>
> <cfset ar = RemoveChars(#ar#, 1, #rr# + 3)>
> <cfset temp = ArrayAppend(HeadlinesArray, #ahref# & #closea#)>
> <cfset rr = Find("<a", #ar#, 1)>
> <cfset ar = RemoveChars(#ar#, 1, #rr# - 1)>
> </cfloop>
>
> <cfloop index="count" from="1" to="#ArrayLen(HeadlinesArray)#">
> <cfset filer = Trim(#HeadlinesArray[count]#)>
> <cfoutput>
> <font size=1 face=arial>#filer#<br><br>
> </cfoutput>
> </cfloop>
>
>
>
> ----- Original Message -----
> From: "Tony Hicks" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, September 21, 2001 10:24 PM
> Subject: Re: CFHTTP [Authorization Error]
>
>
> > It might help if you could show us some of the code.. CFHTTP is a little
> > buggy.
> > ----------
> > Search the Holy Bible: http://www.bibleclicks.com
> > ----- Original Message -----
> > From: Mike cheese Lansing <[EMAIL PROTECTED]>
> > To: CF-Talk <[EMAIL PROTECTED]>
> > Sent: Saturday, September 22, 2001 2:27 AM
> > Subject: CFHTTP [Authorization Error]
> >
> >
> > > Ok this has me somewhat baffled. I am using CFHTTP to "gather" content
> > from
> > > one site to display on another (of course). I have the script running
on
> > my
> > > box at work and at home and have no issues at all with the script. I
> went
> > > live with the file and I now receive Authorization error messages. I
am
> > > unaware of the reason for this message.
> > >
> > > I have searched the list and did not cross another topic of this sort.
> > Does
> > > anyone have a good solution or reasoning for why I receive this error.
> > >
> > > http://www.woodenwagon.com/dsp_headlines.cfm
> > >
> > > That is a link to the file "error" on the server.
> > >
> > > Thank you in advance
> > > - Mike Lansing
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists