-----Original Message-----
From: Richard Kern
Sent: Tuesday, September 19, 2000 3:42 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [CF-Talk] Re: NAMED.BOOT
This may or maynot be applicablae but I'm including a section of code that
is dynamically structured as you mentioned. In order for it to work you
have to have an index.cfm in the lowest directory for it to return a listing
and the server must default to index.cfm in its pages.
______
<CFELSEIF #session.company# eq 'rsahorizons'>
<CFINCLUDE TEMPLATE="rsahorizons_left.cfm">
<!--- -------end section for rsa horizions--------- --->
<!------------- begin section for horizons------------- --->
<CFELSEIF #session.company# EQ 'horizons'>
<CFINCLUDE TEMPLATE="horizons_left.cfm">
<!--- ----------- end section for horizons--------------- --->
<!------------- begin section for other companies, fills in left column of
page ------------------->
<CFELSEIF #session.company# NEQ "admin">
<BR><IMG SRC="../images/spacer.gif" WIDTH=4 HEIGHT=2
BORDER=0 ALT="">
<a href="../contacts.cfm">Contact Us</a><BR>
<BR><IMG SRC="../images/spacer.gif" WIDTH=4 HEIGHT=2
BORDER=0 ALT="">
<b>Click on a directory <BR>
<IMG SRC="../images/spacer.gif" WIDTH=4 HEIGHT=2 BORDER=0
ALT="">
for contents</b><br><BR>
<cfoutput query="#session.company#">
<cfif (#Type# is 'dir') and (#Name# NEQ '.') and (#Name# NEQ
'..') >
<IMG SRC="../images/spacer.gif" WIDTH=4 HEIGHT=2 BORDER=0
ALT=""><IMG SRC="../images/folder_18x16.gif" WIDTH=18 HEIGHT=16 BORDER=0
ALT="">
<a href="#session.company#/#name#">#Name#</a><BR><BR>
</cfif>
</CFOUTPUT>
_______________________
-----Original Message-----
From: W Luke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 19, 2000 11:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [CF-Talk] Re: NAMED.BOOT
That's exactly what I wanted to do, but I may not be able to (it's not up to
me..) hence why I was looking for another solution. Out of interest, I
wonder how you would go about to solve that previous problem. I spent a
good hour on it but couldn't see how it'd work - anyone else bored enough to
join in my fun?
Will
----- Original Message -----
From: "lsellers" <[EMAIL PROTECTED]>
Newsgroups: cf-talk
Sent: Tuesday, September 19, 2000 5:59 PM
Subject: RE: [CF-Talk] Re: NAMED.BOOT
> > OK - I have a table of domain names, which I've populated a Select with.
> > Fine. But I would like to run a check as follows:
> >
> > <cfif fileexists("#filedir#db.#domain_name#") IS true>
> >
> > ...which would exclude those domains in the Select. Any ideas?
>
> Well, generally I just keep a field in the database table that lets me
know
> which ones have been updated. AFTER I'd (re)create thier dns files I'd
> unflag it. This simply lets me do a select on those fields.
>
> Ie, select * from mumble where needsupdate=true.
>
> And simply just overwrite everything. :)
>
> This allows you to cfschedule it to run as a batch process (or to manual
> force the operation if you want).
>
> --min
>
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.