?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?PHP eformmail.php help
Author:??(---.231.232.184.gha.mi.chartermi.net)
Date:???01-15-04 12:42

I am new to PHP (as in this project below).

I have spent two days trying to figure out how to make it work. Is there anybody out there that can find the error in my ways?

M'Lynn

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Michigan North


Confirmation



Thank you
for enrolling online. Michigan North will receive the following Class
Registration information:









echo "$fromname
";
echo "$fromemail
";
echo "$Address
";
echo "$City
";
echo "$Phone
";
echo "$Writing
";
echo "$DSC
";
echo "$RSC
";
echo "$session
";
echo "$date
";
?>


If you made
a mistake, click the button below to re-enter your information.


This




///////////////////////////////////////////////
// //
// Email Form v 1.1 //
// ----------------------------------------- //
// by Graeme ([email protected]) //
// http://www.phpscriptcenter.com //
// //////////////////////////////
// PHP Script CENTER offers no warranties on this script. //
// The owner/licensee of the script is solely responsible for any //
// problems caused by installation of the script or use of the script //
// //
// All copyright notices regarding Email Form, must remain //
// intact on the scripts and in the HTML for the scripts. //
// //
// (c) Copyright 2001 PHP Script CENTER //
// //
// For more info on Email Form, //
// see http://www.phpscriptcenter.com/emailform.php //
// //
///////////////////////////////////////////////////////////////////////////

// your name
$yourname = "Your Name";

// your email
$youremail = "Your Email";

// Default Send Page
$yourdefaultsend = "http://www.aflminorth.com/sent.php";

////////////////////////////////////////////////////////////////////////////
// DO NOT EDIT BELOW THIS LINE //
////////////////////////////////////////////////////////////////////////////



if($submitform) {

$dcheck = explode(",",$require);
while(list($check) = each($dcheck)) {
if(!$$dcheck[$check]) {
$error .= "Missing $dcheck[$check]
";
}
}

if($error) {
?>














Error



?


Powered by: Email Form Version 1.1



exit();
}

if ($fromname) {
$yeshow = "\nFrom, $fromname\n";
}

mail($toemail,"$subject","

$fromname
$fromemail
$Address
$City
$Phone
$Writing
$DSC
$RSC
$session
$date
$message

$yeshow

","From: $fromname <$fromemail>");

header("Location: $sendpage");
exit();

} else {

?>























Contact Form

Your Name:



Your Email:



Message:
TYPE="hidden" NAME="subject" VALUE="Contact Form">







?


Powered by: Email Form Version 1.1



exit();

}

?>

?Re: PHP eformmail.php help
Author:??(---.231.232.184.gha.mi.chartermi.net)
Date:???01-15-04 13:05

One more thing... The html is below:






















































Name:



Basic Flex
Address:



Advanced Flex
City, State, Zip:




SmartApp
Phone:



Sales School
E-Mail:



Advanced Automation
Writing:

?
Name of DSC:

?
Name of RSC:

?
?
Comments:













M'Lynn wrote:
>
> I am new to PHP (as in this project below).
>
> I have spent two days trying to figure out how to make it
> work. Is there anybody out there that can find the error in
> my ways?
>
> M'Lynn
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> Michigan North
>
>
>

Confirmation


>


>

Thank you
> for enrolling online. Michigan North will receive the
> following Class
> Registration information:


>

> > bgcolor="#FFFFC6">
>
>
>
>

>
> > echo "$fromname
";
> echo "$fromemail
";
> echo "$Address
";
> echo "$City
";
> echo "$Phone
";
> echo "$Writing
";
> echo "$DSC
";
> echo "$RSC
";
> echo "$session
";
> echo "$date
";
> ?>
>

>

>

If you made
> a mistake, click the button below to re-enter your
> information.


>

This
>
>


>
> >
> ///////////////////////////////////////////////
> // //
> // Email Form v 1.1 //
> // ----------------------------------------- //
> // by Graeme ([email protected]) //
> // http://www.phpscriptcenter.com //
> //
> //////////////////////////////
> // PHP Script CENTER offers no warranties on this
> script. //
> // The owner/licensee of the script is solely responsible for
> any //
> // problems caused by installation of the script or use of
> the script //
> // //
> // All copyright notices regarding Email Form, must
> remain //
> // intact on the scripts and in the HTML for the
> scripts. //
> // //
> // (c) Copyright 2001 PHP Script
> CENTER //
> // //
> // For more info on Email
> Form, //
> // see
> http://www.phpscriptcenter.com/emailform.php //
> // //
> ///////////////////////////////////////////////////////////////////////////
>
> // your name
> $yourname = "Your Name";
>
> // your email
> $youremail = "Your Email";
>
> // Default Send Page
> $yourdefaultsend = "http://www.aflminorth.com/sent.php";
>
> ////////////////////////////////////////////////////////////////////////////
> // DO NOT EDIT BELOW THIS
> LINE //
> ////////////////////////////////////////////////////////////////////////////
>
>
>
> if($submitform) {
>
> $dcheck = explode(",",$require);
> while(list($check) = each($dcheck)) {
> if(!$$dcheck[$check]) {
> $error .= "Missing $dcheck[$check]
";
> }
> }
>
> if($error) {
> ?>
>


>
>
>
>

> > CELLPADDING="2">
>
>
>
>
>
>
>

>

> FACE="Verdana">Error


> > echo $error; ?>

>

?


>

Powered by:
> Email
> Form
Version 1.1


>
> > exit();
> }
>
> if ($fromname) {
> $yeshow = "\nFrom, $fromname\n";
> }
>
> mail($toemail,"$subject","
>
> $fromname
> $fromemail
> $Address
> $City
> $Phone
> $Writing
> $DSC
> $RSC
> $session
> $date
> $message
>
> $yeshow
>
> ","From: $fromname <$fromemail>");
>
> header("Location: $sendpage");
> exit();
>
> } else {
>
> ?>
>

>


>
>
>
>

> > CELLPADDING="2">
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

> > FACE="Verdana">Contact Form

> > FACE="Verdana">Your Name:

>
>

> > FACE="Verdana">Your Email:

>
>

> > FACE="Verdana">Message:
> TYPE="hidden" NAME="subject" VALUE="Contact Form">
>
>
> > VALUE="fromname,fromemail,message">
>
>


>
>

> VALUE="Submit">


>

?


>

Powered by:
> Email
> Form
Version 1.1


>
> > exit();
>
> }
>
> ?>

Go to Top??|??Go to Topic??|??Threaded View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??

Provided By
Phorum