mirror of
https://github.com/pkali/piradio-mini.git
synced 2026-05-20 22:34:22 +02:00
initial commit
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$msg = $_GET['key'];
|
||||
if (isset($msg)) {
|
||||
$sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
|
||||
$len = strlen($msg);
|
||||
socket_sendto($sock, $msg, $len, 0, 'localhost', 5100);
|
||||
socket_close($sock);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user