Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
hoz #1
finding extension
How do you find an extension (either doc or pdf) of a file by querying a
database that gives you the ID of the record when you don't know which
extension it is? I know how to get this info when uploading a file, but I want
to get this info when checking my records on a cfm page. Is it possible to get
whatever follows the period on my link below:
<cfquery name='qproject...'
<cfoutput query='qproject'
<a href="/webservices/publication/samples/#pubID#.">)SAMPLE OF PROJECT</a>
</cfoutput>
So the URL above would either
http:[url]www.mydomain.com/webservices/publication/samples/40.(pdf[/url] or 40.doc)
Thanks,
Hoz
hoz Guest
-
DM6.0 Extension Manager v1.2.107 not d/l newer extension
Hi Folks, I have not been on line due to back surgery and recovery (ouch, yes it still hurts) I have tried to down load some newer navigation aids... -
Help finding Event Calendar Extension
I am looking for event calendar extensions? Does anyone know were I can find some besides here at Adobe? Any help would be great (I am looking for... -
Finding relative size of each extension in the PHP core
Hello, Is there any easy way to find out approximately the size for each PHP extension compiled into a build (libphp4.so, for example), without... -
Is .dcr extension = Director file extension ?
I'm a newbie and saw some files on a website ending in .dcr... 1 - Is the .dcr file type a Macromedia Director file? 2 - Does it take the... -
OT: Finding a job
Hi group, Looking for a job. I'm at the point where I will go to a place and say, "Look, I'll give you $500 or half of my first week's salary,... -
mxstu #2
Re: finding extension
If your table does not store the filename for some reason, you could probably
use the FileExists() function to determine which file extention to display. If
the file "40.pdf" exists in the target directory, show a link for that file,
etc...
mxstu Guest
-



Reply With Quote

