Forum Moderators: phranque

Message Too Old, No Replies

Form_Processor.php - Not Returning a Subject

Not showing e-mail address or subject in the e-mail response

         

bin82878

8:21 pm on Apr 29, 2005 (gmt 0)

10+ Year Member



I'm using form_processor.php, but it's not returning any subject or e-mail address when it sends me the response/e-mail. Anyone have any ideas? Thanks a lot.

rocknbil

5:50 pm on Apr 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You probably have a typo in your input for the variable names, or the case is incorrect (Email as opposed to email.) Using the echo command, put a print and exit statement that prints out all incoming data, just before the email actually sends. I'm very rusty on my php but the perl equivalent is

print "content-type:text/html\n\n";
foreach $v (keys %qs) { print "$v $qs{$v} <br>\n"; }
exit 0;

I cringe at how many times I've had to add that statement. :-)