Chapter 15 simple-mailer.php doesn't work
Hello All,
I do not seem to be able to run this script. When I hit the 'send' button, the form just clears and no e-mail is sent.
When I look at the client-side source (html), I see:
<FORM METHOD="POST" ENCTYPE="MULTIPART/FORM-DATA"
ACTION="">
There's no 'ACTION'. Looking at the PHP source, this should be the result of:
<?php echo $PHP_SELF ?> which appear to be empty when the PHP gets turned into HTML.
In addition, I should at least see a user_message or error_message when I press 'Send' - even if the call to sendmail was successful or it failed.
Is this a PHP environment problem?
I'm running:
RH Linux 8.0
php-4.2.2-8.0.5
httpd-2.0.40-11.5
Thanks in Advance.
Corey.
|