EDIT: If you want to make sure you can use asp copy this,
<%
Dim testing,color
testing = "Hello ASP!"
color = "7788FF"
%>
<html>
<body bgcolor="#<%= color %>">
<%= testing %>
</body>
</html>
- <%
- Dim testing,color
- testing = "Hello ASP!"
- color = "7788FF"
- %>
- <html>
- <body bgcolor="#<%= color %>">
- <%= testing %>
- </body>
- </html>
into notepad and save on the server with an ASP extension. If you get a light blue screen with the words "Hello ASP!" your good to go.
(bet thats the first time you looked foward to a bluescreen

)
Now about this solution,
It stores the data in an XML file in the same directory. If you can use ASP then follow this link to a text file and proceed with the following instructions,
// Removed - Joebert
MIRROR
// Removed - Joebert
Now you need to either create a new folder to put theese in or change ALL references to DEFAULT.ASP to the filename of your choosing if you want to put them in a folder that allready has a DEFAULT.ASP
Now in the text file you linked to You should see alot of source code with ---------- lines every so often.
You need to paste the parts between theese lines into a text editor and save each as the filename noted at the top of each.
Example: seeing this,
-----------------------------------
This is a form to determine how many rates there will be
START.HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Define Max exchange rates</title>
</head>
<body>
Enter the total number of rows.
<form action="build.asp" method="post">
<input type="text" name="max" /><br />
<input type="submit" value="Build XML" />
</form>
</body>
</html>
------------------------------------
- -----------------------------------
- This is a form to determine how many rates there will be
- START.HTML
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <title>Define Max exchange rates</title>
- </head>
- <body>
- Enter the total number of rows.
- <form action="build.asp" method="post">
- <input type="text" name="max" /><br />
- <input type="submit" value="Build XML" />
- </form>
- </body>
- </html>
- ------------------------------------
You would paste this,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Define Max exchange rates</title>
</head>
<body>
Enter the total number of rows.
<form action="build.asp" method="post">
<input type="text" name="max" /><br />
<input type="submit" value="Build XML" />
</form>
</body>
</html>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <title>Define Max exchange rates</title>
- </head>
- <body>
- Enter the total number of rows.
- <form action="build.asp" method="post">
- <input type="text" name="max" /><br />
- <input type="submit" value="Build XML" />
- </form>
- </body>
- </html>
Into notepad and save it as START.HTML
When your done you should have,
build.asp
fill.asp
rates.asp
start.html
update.asp
default.asp
Start.html and Fill.asp will only be used once to build the initial structure of the XML file that the rest of the pages will use as a database, Though you could modify them for adding more rates later on.
Now that you have all your files use your browser and navigate to START.HTML
Enter the total number of rates in the box and click the button.
This will take you to a form with boxes to enter the initial names and numbers for the X amount of rates you choose. Fill theese in and click the button.
You should now see nothing but the word SUCCESS as a link. Click it and
you should be at the example I posted on OZZU before.
Now you have the basic structure, you can start using it from DEFAULT.ASP
If you want to change the layout of the tables remember this,
That is your data formated into TR/TD tags with no headers.
Each name cell is classed as "name", each rate cell is classed as "rate" and each update cell is classed as "change" if you want to apply CSS formating to them.
You can change the table tag around that "rateOut" tag if you what to change overall apperance.
After you have tweeked the layout to what you want it to look like give the address to DEFAULT.ASP (Or just the path to the folder if you haven't tweaked default page settings.) to anyone that needs to reference it.
I think I covered Everything, If not Feel Free to ask Questions

EDIT: Just noticed you want the rates to appear on your homepage as well, heres what you do,
Paste everything between
From the DEFAULT.ASP file Into the top of the homepages source.
You may have to add the name of the folder that you placed all this in to this line.
objXML.load(server.mappath("rates.xml"))
Might be
objXML.load(server.mappath("new/rates.xml"))
Once that is done remember what I explained about the formating above. Also you might want to add a link back to the homepage In UPDATE.ASP
If this causes your homepage to display the source instead of your page as intended you may have to copy the home page and save it with an ASP extension (DO NOT DELETE OR RENAME THE ORIGINAL UNTILL YOUR SURE EVERYTHING WORKS)
Ok NOW I think I got everything, like before feel free to ask questions.[/code]
Strong with this one, the sudo is.