Hey all,
I know I am overlooking something simple here. I am using CFDIRECTORY and
would like to use a relational url, but am having no luck.
As you can see, the reason I wish to use relational urls are because I wish
to use it as part of the href. And secondly the link doesn't work properly
using the d:/inetpub.... And I think that is just bad programming to point
to a file through the drive letter.
Here is my test code, I would like to have url.directory =
/anotherdir/yetanotherdir/
<CFDIRECTORY DIRECTORY="#url.directory#"
NAME="myDirectory"
SORT="name ASC, size DESC">
<table>
<cfoutput query="myDirectory">
<tr>
<td><a
href="#url.directory##Name#">#Name#</td><td>#size#</td><td>#datelastmodified
#</td></A>
</tr>
</cfoutput>
Help if you can!!!
Eddie Phillips
EDS Canada Inc.
Web Services Architect - PCO
[EMAIL PROTECTED]
Ph. (204) 926-2712
Fax (204) 943-2765
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org