This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
// set some variables | |
$host = "192.168.1.99"; | |
$port = 1234; | |
// don't timeout! | |
set_time_limit(0); | |
// create socket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$to = "[email protected], [email protected]"; | |
$subject = "Test mail"; | |
$message = "Hello! This is a simple email message."; | |
$from = "[email protected]"; | |
$headers = "From:" . $from; | |
mail($to,$subject,$message,$headers); | |
echo "Mail Sent."; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Arabic | |
العربية | |
0 ٠ | |
1 ١ | |
2 ٢ | |
3 ٣ | |
4 ٤ | |
5 ٥ | |
6 ٦ | |
7 ٧ |