I'm trying to call a php script from TCL and echo out the output into an irc channel.
Just gives me
The PHP is verified as working, can anyone help?
Code:
bind pub - !lfs pub:lfs
proc pub:lfs { nick uhost handle channel arg } {
catch {exec "c:\php\php.exe -q c:\progra~1\apache~1\apache2\htdocs\serverstatus.php"} status
putserv "PRIVMSG $channel :$status"
}
Just gives me
Code:
couldn't create error file for command: no such file or directory
The PHP is verified as working, can anyone help?