PHP WebSocket Server can not access Origin and Referrer headers – Apache
I have a simple PHP websocket server Here is the full code : https://gist.github.com/hack4mer/e40094001d16c75fe5ae8347ebffccb7 while (true) { $changed = $clients; socket_select($changed, $null, $null, 0, 10); //check for new socket if (in_array($socket, $changed)) { $socket_new = socket_accept($socket); //accpet new socket $clients[]…