TCL and PHP?

Caporegime
Joined
18 Oct 2002
Posts
25,287
Location
Lake District
I'm trying to call a php script from TCL and echo out the output into an irc channel.

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?
 
Back
Top Bottom