Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<FORM name=mailform action="mailform.php" onsubmit="return checkData()" method="POST">
<input type=hidden name="recipient" value="Товят мейл">
<input type=hidden name="subject" value="Email ot saita">
<tr><td class=sidebartop></td></tr>
<tr><td class=sidebarbottom>
<span class=small><center>Изпратете ни E-mai:</center>
<br>Вашето име : <INPUT type=text name=realname size="31">
<br>
<br>Вашият E-mail:<INPUT type="text" name=email size="30">
<br>Съобщение:
<br><TEXTAREA wrap="virtual" name="comments" cols="43" rows="20"></TEXTAREA>
<br><INPUT type="submit" name="submit" value="Изпрати"></TD></TR>
</FORM>
<html>
<body>
<?php
if (isset($_REQUEST['email']))
//if "email" is filled out, send email
{
//send email
$email = $_REQUEST['email'] ;
$subject = $_REQUEST['subject'] ;
$message = $_REQUEST['message'] ;
mail( "Твоят мейл", "Subject: $subject",
$message, "From: $email" );
echo "Thank you for using our mail form. Return on my page with this
<a href=http://Хоум педжа ти/>link</a>";
}
else
//if "email" is not filled out, display the form
{
echo "<form method='post' action='mailform.php'>
Email: <input name='email' type='text' /><br />
Subject: <input name='subject' type='text' /><br />
Message:<br />
<textarea name='message' rows='15' cols='40'>
</textarea><br />
<input type='submit' />
</form>";
}
?>
</body>
</html>