Up until last week (?) my Wake on LAN PHP script worked perfectly.
Here's the error I get every time I try to launch it:
I'm a noob when it comes to this type of scripting, but it looks like socket functions aren't enabled?Code:Warning: socket_sendto() [function.socket-sendto]: unable to write to socket [1]: Operation not permitted in /home/jcheff/public_html/wol/wol.php on line 24 Magic packet failed!
Here's line 24 if any one wants to take a look:
I can post the rest, but I don't think it's needed.Code:if(socket_sendto($s, $msg, strlen($msg), 0, $addr, $socket_number)) {
Please keep in mind this isn't my script, but it did work for several months up until a week or two ago.


LinkBack URL
About LinkBacks
Reply With Quote



