|
|
|
HEY YOU!!!,
Our records indicate that you have never posted to our site before! Why not make your first post today by saying hello to our community in our new people forums.
To access all the good good stuff you need to post, post, and post more.
|
05-19-2004, 09:38 AM
|
#1
|
|
whore
Join Date: May 2004
Location: Pittsburgh
Posts: 367/0.23
Threads: 0
|
Coldfusion
Anybody use it? I did some work with it in college and I've tried to keep my knowlege up on it since then. If anyone does use it I'd like to see some examples. Also, anyone know of a good hosting site that supports Coldfusion.
|
|
|
|
|
|
|
quote
|
|
05-19-2004, 12:26 PM
|
#2
|
|
whore
Join Date: May 2004
Location: America
Posts: 464/0.29
Threads: 12
|
Re: Coldfusion
hmmm....is coldfusion a type of cooling for the computer? or hwat exactly is that?
|
|
|
|
|
|
|
quote
|
|
05-19-2004, 02:58 PM
|
#3
|
|
Guest
Posts: n/a/0
Threads:
|
Re: Coldfusion
|
|
|
|
|
|
|
quote
|
|
05-23-2004, 03:06 AM
|
#4
|
|
whore
Join Date: May 2004
Location: South of Houston, Texas by 20 or so minutes.
Posts: 123/0.08
Threads: 0
|
Re: Coldfusion
I work with ColdFusion.
ColdFusion is kinda like Microsoft's ASP, ColdFusion is just the brainchild of Allaire.. which is now Macromedia. Coldfusion is based upon Java so really secure.
What type of examples would you like to see?
|
|
|
|
|
|
|
quote
|
|
05-24-2004, 02:14 AM
|
#5
|
|
whore
Join Date: May 2004
Location: Pittsburgh
Posts: 367/0.23
Threads: 0
|
Re: Coldfusion
Well, i'm looking for something where i could showcase images. So when you click on a thumbnail it will show the blown up picture with a description on a new page.
|
|
|
|
|
|
|
quote
|
|
05-31-2004, 09:25 PM
|
#6
|
|
whore
Join Date: May 2004
Location: South of Houston, Texas by 20 or so minutes.
Posts: 123/0.08
Threads: 0
|
Re: Coldfusion
Forgive how long it took to get back to this post.. um.. I forgot :(
Well you could setup a real simple access database with a table called tblImages. Inside the table have these fields Image_Number(primary field), Image_Name, Image_Description, Image_Small, and Image_Large. Setup an image folder place your images there.
Ok the code below "should" work, I whipped this up in notepad real quick. Some of the code you will have to modify like #request.dsn#.
Picture Gallery webpage
<cfquery name="query_images" datasource="#request.dsn#" username="#request.dsnUsername#" password="#request.dsnPassword#">
SELECT Image_Number, Image_Name, Image_Small
FROM tblImages
ORDER BY Image_Name
</cfquery>
<html>
<head>
<title> :: Picture Gallery :: </title>
</head>
<body bgcolor="ffffff">
<table border="0" width="600">
<tr>
<th>Here is the header</th>
<tr>
<cfoutput query="query_images">
<tr>
<td align="center" valign="top">
:: #Image_Name# ::
<hr height=1>
<br>
<a href="larger_view.cfm?number=#Image_Number#">
<img src="images/#Image_Small#" alt="#Image_Description# border="1">
<br>
Click Here to see a larger version
</a>
</td>
</tr>
</cfoutput>
</table>
</body>
</html>
Large Picture webpage
<cfif isDefined("#url.number#")>
<cfquery name="query_images" datasource="#request.dsn#" username="#request.dsnUsername#" password="#request.dsnPassword#">
SELECT Image_Number, Image_Name, Image_Description, Image_Big
FROM tblImages
WHERE Image_Number = #url.number#
</cfquery>
<html>
<head>
<title> :: #Image_Name# :: </title>
</head>
<body bgcolor="ffffff">
<table border="0" width="600">
<tr>
<th> :: #Image_Name# :: </th>
<tr>
<cfoutput query="query_images">
<tr>
<td align="left" valign="top">
<hr height=1>
<br> <img src="images/#Image_Big#" alt="#Image_Description# border="1">
<br>
#Image_Description#
</td>
</tr>
</cfoutput>
</table>
</body>
</html>
<cfelse>
<hr>
Go back!
<hr>
</cfif>
|
|
|
|
|
|
|
quote
|
|
06-01-2004, 11:45 AM
|
#7
|
|
whore
Join Date: May 2004
Location: Pittsburgh
Posts: 367/0.23
Threads: 0
|
Re: Coldfusion
Cool thanks! I'll have to try it out.
|
|
|
|
|
|
|
quote
|
|
07-31-2004, 06:40 PM
|
#8
|
|
Guest
Posts: n/a/0
Threads:
|
Re: Coldfusion
yeah,what he said.
|
|
|
|
|
|
|
quote
|
|
|