Click to See Complete Forum and Search --> : HTML adn cfm


DanielLee
03-25-2003, 04:15 PM
Hi,

| build simple websites using note pad and HTML 4.01 transitional. I now have a customer who wants me to move his website (which was created with Cold Fusion) over to my server .

| have saved the entire website one page at a time and created the necessary folders for the photos and changed all but one page of the website to HTML 4.01. I had to change most of the file names by using an underscore in place of ? and = signs so I could save it to my hard drive. The entire website is now working with the exception of one page (the request Information page).

There are a couple of things I am not sure of.

1) all of the HTML files that I saved have names that start with “index.cfm filename“, is there a reason for that? I don’t see a file name of just “index” for the start of the website.

2) One of the pages is called “request info” and has a place for people to put comments and enter their name, state (from a drop down dialog box) etc. How do I handle that? Is there something I need to put into a CGI folder on the server? I have never done that sort of thing and need a little help on it.

The old webmaster sent me a bunch of files, everything that is not a .jpeg or a .gif file has “filename.cfm“ (in contrast to the “index.cfm filename” of the files I saved to disk from the Internet). I can’t seem to get those files to open, (not that I really need them at this point) nothing was in folders.


The main question is how do I get the "Request Information" page to work?

Any assistance appreciated, thank you in advance.

Sincerely,

Daniel

DaiWelsh
03-28-2003, 04:15 AM
Daniel,

Cold Fusion is an application server that fulfills a role similar to ASP or PHP. The pages that you have been sent that have .cfm extensions will probably be a mixture of html and cfml (cold fusion markup language).

To get the site working you will need to look at the cold fusion markup and figure out what it is doing - if you are lucky there will be very little cfml and you may be able to run the site effectively on a non-cold fusion host, but it is more likely that the pages will involve some code that makes the contents dynamic in some way, for example by reading data from a database.

Now for the bad news, if that is the case you will either need to have them run on a host with a cold fusion server installed or you will have to rewrite the code in whichever server-side language you use.

Note that the pages you have saved directly from the web server may not be at all similar to what is in the .cfm files, in the same way that the output from a perl script is not the same as the code of a perl script.

I think you may have taken on a bigger job than you realise here :(

More info on cold fusion should be avaialble from http://www.macromedia.com/ who now own the product.

HTH,

Dai

DanielLee
03-28-2003, 09:29 AM
Thank you to all who not only replied to my post but to all of the post you take the time to answer.

Sincerely,

Daniel