I reckon:

search_replace[6][1] ="// --></script><a href=""";
search_replace[6][2] ="// --></script><a
href=""<cfoutput>##application.domain####directory_path##</cfoutput>/";

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 10 October 2002 10:42
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] Brain Hurts ...


Whats that thing with double quotes that will fix the problem below?

All is fine except search_replace[6][1] and [6][2]
This is just my quick routine for updating crappy frontpage pages that the
city council use.

<cfscript>

search_replace = arraynew(2);
     search_replace[1][1] = "_border";
     search_replace[1][2]
="<cfoutput>##application.domain####directory_path##</cfoutput>/_border";
     search_replace[2][1] = "_derived";
     search_replace[2][2]
="<cfoutput>##application.domain####directory_path##</cfoutput>/_derived";
     search_replace[3][1] = "navigate";
     search_replace[3][2]
="<cfoutput>##application.domain####directory_path##</cfoutput>/navigate";
     search_replace[4][1] = "images";
     search_replace[4][2]
="<cfoutput>##application.domain####directory_path##</cfoutput>/images";
     search_replace[5][1] = "headers";
     search_replace[5][2]
="<cfoutput>##application.domain####directory_path##</cfoutput>/headers";
     search_replace[6][1] ="// --></script><a href=";
     search_replace[6][2] ="// --></script><a
href="<cfoutput>##application.domain####directory_path##</cfoutput>/";

</cfscript>


Cheers - Paul




*************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity 
to whom they are addressed. If you have received this email 
in error please notify [EMAIL PROTECTED]

The views expressed within this email are those of the 
individual, and not necessarily those of the organisation
*************************************************************


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to