Skip to content

Instantly share code, notes, and snippets.

View DrGirlfriend's full-sized avatar

Deirdra Strangio DrGirlfriend

View GitHub Profile
@DrGirlfriend
DrGirlfriend / socket_test.php
Created March 30, 2017 18:05
Tests socket functionality
View socket_test.php
<?
// set some variables
$host = "192.168.1.99";
$port = 1234;
// don't timeout!
set_time_limit(0);
// create socket
@DrGirlfriend
DrGirlfriend / mailtest.php
Last active March 30, 2017 17:58
Test mail functionality
View mailtest.php
<?
$to = "dhendric@adobe.com, gchristou@betabreakers.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "s7miramar@adobe.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
@DrGirlfriend
DrGirlfriend / localized_test_strings.txt
Created March 30, 2017 17:41
Localized strings used for testing
View localized_test_strings.txt
Arabic
العربية
0 ٠
1 ١
2 ٢
3 ٣
4 ٤
5 ٥
6 ٦
7 ٧