Results 1 to 2 of 2

Thread: CGI scripting (again!)

  1. #1
    DippyChick You Are Posting As A Guest - Please Register or Log In

    Default CGI scripting (again!)

    I read the tutorial on CGI scripting using cgiemail. Where (and what) is file.txt? I don't appear to have that in my public folder. In fact, I can't even see it in Dreamweaver. Here's the html for that one line, which I'm sure is the one screwing me up.

    <form action="http://dippychick.com/cgi-bin/cgiemail/file.txt" method="POST">

    Help! I'm a moron!
    Chris

  2. #2
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,236

    Default

    file.txt is an example file that does not exisit by default. You can name it whatever you like so long as your form action points to whatever you name it.

    You have to make "file.txt" (or whatever you want to name it, e.g. email.txt) and put the appropriate variables in it for cgi-email to work. Examples of what to put in this file are here.

    http://web.mit.edu/wwwdev/cgiemail/user.html

    Specifically item number 1, "Create an email template."

    Hope that helps.
    Last edited by Matt; 03-16-2005 at 03:07 AM.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14