LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   formmail.php / formmail.pl not working (http://www.linuxquestions.org/questions/programming-9/formmail-php-formmail-pl-not-working-509795/)

Tux-O-Matic 12-12-2006 03:48 PM

formmail.php / formmail.pl not working
 
This is the source code for the form:
Code:

<FORM action="cgi-bin/formmail.php" METHOD="POST">
 <input type = "text" value = "City"><P>
 <input type = "text" name = "narrative" value = "State/Country/Province"><P>
 <textarea rows = 10 cols = 50 wrap = "hard">A little about yourself...</textarea><P>
 What is your dollar number?<input type = "text" value = "Numbers 1-4">
 <input type = "submit" name = "submit" value = "SUBMIT">
 <button type = "clear" value = "clearform">RESET</button>
    </form>

However, nothing is emailed to me. I kept waiting. Does anyone see an error. I don't want to overload this server with the formmail.php source code, so I'll make a reference to the download: http://www.dtheatre.com/scripts/formmail.php. And, yes, I changed all the information like email in the file that I needed to. The Perl version doesn't have any place where you change your email address. Do I need a perl or php interpereter on my system?

taylor_venable 12-12-2006 05:04 PM

Quote:

Originally Posted by Tux-O-Matic
Do I need a perl or php interpereter on my system?

You'll need the Apache (I assume you're using Apache) module to interpret whatever kind of script you're using. Otherwise the script file will simply be presented to the user when it's called.


All times are GMT -5. The time now is 06:42 AM.