I've been running a PHP script successfully since I registered here three months ago, but as of last week it has stopped working with no changes on my part to my website. The script it designed to turn my PC on remotely and is very important to my daily activities. I made a thread in the "Programming Help" section of the forum, but have received no replies (besides it's not a programming mistake on my part since I have validated it works).
The error is as follows:
"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 of my script since that's where it stops working:
"if(socket_sendto($s, $msg, strlen($msg), 0, $addr, $socket_number)) {"
Thank you for your attention in this matter!
The error is as follows:
"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 of my script since that's where it stops working:
"if(socket_sendto($s, $msg, strlen($msg), 0, $addr, $socket_number)) {"
Thank you for your attention in this matter!