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

or even without the ' '


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------



                                                                                       
                                      
                    Paul_Swingewood@birming                                            
                                      
                    ham.gov.uk                     To:     [EMAIL PROTECTED] 
                                      
                                                   cc:                                 
                                      
                    10/10/02 10:42 AM              Subject:     [ cf-dev ] Brain Hurts 
...                                   
                    Please respond to dev                                              
                                      
                                                                                       
                                      
                                                                                       
                                      



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