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