I have the following script
<?php
// Set Function To Show Correct Page On Input Of Correct Pasword
function amail_applet()
{
echo("$mailer");
return;
}
// Check To See That Password Is Correct
if($password==tehmux) {
amail_applet();
} else {
echo("You are not authorized to be here!");
}
// Protected Page HTML
$mailer = "
<head>
<title>Joel's A-Mailer</title>
</head>
<body bgcolor=#FF0000>
<p align=center><font size=7 color=#FFFFFF>JOEL'S A-MAILER</font></p>
<form method=POST action=sendmail.php>
<p align=center><font color=#FFFFFF>Logged In</font></p>
</p>
<p align=center><font color=#FFFFFF>Send Mail To:<br>
<input type=text name=recipient size=20 style=color: #FF0000></font></p>
<p align=center><font color=#FFFFFF>From:<br>
<input type=text name=from size=20 style=color: #FF0000></font></p>
<p align=center><font color=#FFFFFF>Subject:<br>
<input type=text name=subject size=20 style=color: #FF0000></font></p>
<p align=center><font color=#FFFFFF>Body Of Message:<br>
<textarea rows=6 name=body cols=28 style=color: #FF0000></textarea></font></p>
<p align=center> </p>
<p align=center>
<input type=submit value=Send Mail name=submit style=color:#FF0000 #FF0000></p>
</form>
<p align=center> </p>
<p align=center><font size=1 color=#FFFFFF><b>Script Is © Copyright
Cool-Palace Scripts. Joel's A-Mailer Is A Copy Of C-P Scripts PIMP (PHP
Invisible Mailing Program). All Rights Reserved.</b></font></p>
</body>
";
?>
MY PROBLEM IS THE ECHO FROM THE FUNCTION AT THE TOP WON'T WORK. I TRIED DELETING EVERYTHING AT TOP DELT WITH AUTH AND JUST PUT echo($mailer); THAT WOULD NOT WORK EITHER!! WHAT IS WRONG?