Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Sep 2002
    Location
    Chicago
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Forms/User Profile

    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!

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Most important questions. Does your host have a serverside language supported? If so, which one?

  • #3
    New to the CF scene
    Join Date
    Sep 2002
    Location
    Chicago
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yep, it supports cgi. That's enough I hope?

  • #4
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    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

  • #5
    New Coder
    Join Date
    Sep 2002
    Location
    Up North (UK)
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts
    kibblebutt,

    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •