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 issu
coldfusion.developer wrote:
> Why isn't this working?
>
> http://www.site.com/StoreLocator/Store_page.txt";
> variable="page_content">
The file attribute of cffile requires a path, not a URL.
> src="http://productlocator.site.com/productlocator/resources/9/KEGP/header_
> 02.gif" width="242"
http://productlocator.site.com/productlocator/resources/9/KEGP/header_02.gif";
width="242" height="75">, "")>
You need some quotes around your img string.
http://productlocator.site.com/productlocator/resources/9/KEGP/header_02.gif";
width="242" height="75">', "")>
--
Ian Skinner
3 matches
Mail list logo