General discussion

Locked

Need Help with Php?

By llarabie2 ·
Yes Please Help me I am new to PHP , I made a simple html page calling on a php script but the script was not compiled is that why it will not work?

could you view this script and tell if it is correct or it will not work ( I am using Windows XP) and apache not working well??
thank you
Louie: e-mail:llarabie2@cogeco.ca

here is that script;

<?php

$msg = "Sender's Full Name:\t$sender_name\n";

$msg .= "Sender's E-Mail:\t$sender_email\n";

$msg .= "Did youlike the site?\t$like_site\n";

$msg .= "Additional Message:\t$message\n\n";


$mailheaders = "From: My Web Site\n";

$mailheaders .= "Reply-To: $sender_email\n\n";


$mail("llarabie2@cogeco.ca", "feedback Form", $msg, $mailheaders);
echo "<H1 align=center>Thankyou, $senders_name</H1>";
echo "<P align=center>We Appreciate your feedback.</P>";
?>

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

PHP.ini

by comptepublique In reply to Need Help with Php?

I'm notsure i can help you but there is a section in the file php.ini that contain all information about configuration of a smtp server. It's not difficult but it's good to know.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums