coldfusion.developer wrote:
> Why isn't this working?
> 
> <cffile action="read" file="http://www.site.com/StoreLocator/Store_page.txt"; 
> variable="page_content">

The file attribute of cffile requires a path, not a URL.


> <CFSET get_page = replace(page_content, <img 
> src="http://productlocator.site.com/productlocator/resources/9/KEGP/header_ 
> 02.gif" width="242" height="75">, "")> 

You need to escape function arguments that are strings.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261414
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to