true, here it is. Have fun...sorry ^_^
<?php
include "Nav.inc";
?>
<img src=images/feedback.jpg>
<?php
if(isSet($send) && ($send == 1))
{
error_reporting(0);
$Address = "[EMAIL PROTECTED]";
$Subject = "Feedback From NullTechnology.com";
$Message = str_replace("\n","<br>",$Message);
$Mail = mail($Address, $Subject, "$Message \n From: $Return");
if($Mail == 1)
{
echo("<br><br><center><b><font size=+1 face=verdana>Your Mail Was
Succesfully Sent!</b></center>");
exit;
}
else
{
echo("<br><br><center><b><font size=+1 face=verdana>There Was An
Error While Processing Your Email</b></center>");
exit;
}
}
else
{
if(IsSet($Message))
{
$Message = str_replace("\n","<br>",$Message);
$Message = str_replace(" "," ",$Message);
echo("<center><table><td>
<b>Message:</b><br>$Message<br>
<b>Return Address:</b> $Return<br>If this is correct click on 'Send
Feedback'
to send the email, if not you can edit the message
below</td></table></center>");
$Message = str_replace("<br>","\n",$Message);
$Message = str_replace(" "," ",$Message);
}
}
?>
<table align=center>
<td>
<form action=
<?php
if(IsSet($Message))
echo("feedback.php");
else
echo("feedback.php");
?>
method=post>
Type Your Message Here:<br>
<textarea name=Message cols=50 rows=10 wrap=yes><?php
if(IsSet($Message))
echo($Message);
else
echo("Type your message in this box");
?></textarea>
<br>If You Want a Reply Type Your Email Address Here:
<input name=Return value=
<?php
if(IsSet($Return))
echo("'$Return'>");
else
echo(">");
?>
<input type=hidden name=send value=
<?php
if(IsSet($Message))
echo("'1'>");
else
echo("'0'>");
?>
<br><br><center>
<input type=submit value="Send Feedback!"><center>
</form>
</td>
</table>
</body>
</html>
----- Original Message -----
From: "David Robley" <[EMAIL PROTECTED]>
To: "Chris Anderson" <[EMAIL PROTECTED]>; "Chris Anderson"
<[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]>
Sent: Tuesday, February 20, 2001 9:24 PM
Subject: Re: [PHP] Problems with Mail
> On Sat, 17 Feb 2001 05:40, Chris Anderson wrote:
>
> > > I use the php mail function in this file, but it only sends the first
> > line of the text. Any ideas? I attached the file
>
>
> The mailing list stripped your attachment - perhaps you could paste it
> into your message?
>
> --
> David Robley | WEBMASTER & Mail List Admin
> RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
> AusEinet | http://auseinet.flinders.edu.au/
> Flinders University, ADELAIDE, SOUTH AUSTRALIA
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]