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.
<?php
ini_set('sendmail_from', 'admin@site.com');
$to = 'ninja@abv.bg';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: admin@site.com' . "\r\n" .
'Reply-To: admin@site.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
<?php
$ip=$_SERVER['REMOTE_ADDR'];
$to = 'ninja@abv.bg';
$subject = 'the subject';
$message = 'hello Ip sender: $ip';
$headers = 'From: admin@site.com' . "\r\n" .
'Reply-To: admin@site.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>