It might be a little bit tricky to set up, but you should be able to have PHP on the Web server run "ssh username@scobox scriptname" and get the job done. The ssh suite may or may not compile on your SCO box, however. It probably has rsh installed; that might be reasonably secure if the SCO box is unreachable from the outside world, and the setup is protected with tcpwrappers ... but I'd recommend ssh instead.
Alternatively, run a Web server on the SCO box, with PHP or a CGI program invoking your script locally. PHP on your Web server could hit a remote url to on your SCO box to trigger the action (see the file section of the PHP manual for details). You could use .htaccess on the SCO box to protect the script from outside interference, and you wouldn't even have to run it on port 80. For that matter, it could be Apache in non-daemon mode, invoked by inetd.