09-19-2002, 04:21 PM
Sorry if this is obvious, but I'm at a loss trying to figure out how to set up up a "modifiable form":
1. User logs in makes selections (pull down menus), hits submit. Selections are emailed and saved in his account.
2. User decides to change a selection, logs in, previous selections are still there, makes his alterations and hits submit, it's sent and new selections are saved in his account.
Any hints for a starting point would be lovely!
09-19-2002, 04:34 PM
Most important questions. Does your host have a serverside language supported? If so, which one?
09-19-2002, 06:28 PM
Yep, it supports cgi. That's enough I hope?:)
09-20-2002, 12:31 AM
It might be, I don't know anything about cgi as I've never used it. Might be best for a mod to move the thread :)
09-20-2002, 10:01 AM
I think a better understanding of what CGI is, is required.
CGI is the interface where a WEB server starts an application when a web browser requests a page. Standard setups normally have the applications in their own directory (cgi or cgi-bin) and the URL would be http://www.some.server.com/cgi/script1.cgi. The application is launched with access to various details, like cookie infomation and field values from forms and any information stored on the server. The applicatiion then creates HTML as output which the web server passes back to the browser.
There is an alternate method of creating dynamic web pages, by using an embedded scripting language. This is where the "program script" is embedded into a HTML page and the output from the script is written in place of theactual script. I suspect that this is how this forum is built (the *.php file name in the URL).
The difference in these two methods can be seen by looking at how the program code is wrapped around the HTML page. In CGI, the HTML page is inside an application and the parameters define what comes out, whilst the embedded script the the program code is in the HTML page itself.
Before further help can be given, Nightfire's question about serverside language support needs to be answered. The languages I would expect would be PERL or PHP. As you are storing information, some form of database would most like be useful, something like mysql.
Hope this help.