If you need to read content from a URL, use cfhttp not cffile. ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 10:36 AM To: CF-Talk Subject: replace syntax issue Why isn't this working? <cffile action="read" file="http://www.site.com/StoreLocator/Store_page.txt" variable="page_content"> <CFSET get_page = replace(page_content, <img src="http://productlocator.site.com/productlocator/resources/9/KEGP/header_0 2.gif" width="242" height="75">, "")> Error: Missing argument name. When using named parameters to a function, every parameter must have a name. The CFML compiler was processing: an expression beginning with "replace", on line 45, column 1.This message is usually caused by a problem in the expressions structure. a CFSET tag beginning on line 44, column 2. D ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:261441 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

