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


DanielLee
03-23-2003, 07:34 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

Phil Karras
03-25-2003, 12:59 PM
I suspect that the cfm means that the index.cfm file is a server-side script file that runs and picks up the file given with it.

This is not an HTML question at this point. You need to take this question to the CGI section. They've helped me there with Perl questions (filename.pl or filename.cgi) and I know about Perl and PHP neither of which use cfm extensions.

Sorry I can't be of more help on that one. Perhaps the guys in the CGI section can help.

nkaisare
03-25-2003, 01:12 PM
Your question isn't really clear to me. cfm is extension for cold fusion.

1. What do you mean by "index.cfm filename"? Shouldn't your filenames be "filename.html" or "filename.cfm"?
Or do you mean "index.cfm?filename". In this case, filename is an argument passed to index.cfm. My guess is that index.cfm would then display the contents of the file "filename".

2. If you have a form that allows users to submit some info, you'd most likely need a server-side script --- cgi, php or even cfm.

Regarding your final question:
I didnt exactly get what you mean. I haven't used cfm ever, so I dont know. Probably the cgi forum will be a better place to get answers