Running a TCL script from PHP
| From: | Noodles Grizzly | Date: | Tue, 13 Feb 2001 01:14:28 +0000 |
| Subject: | Running a TCL script from PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6560@lists.php.net to get a copy of this message | ||
G'day,
I have a TCL script that reads one line from a file (generated by a php script),
checks it against an authoritive nameserver, then returns a one line value into
another file. On it's own, the script work perfectly. But I'm having trouble
including it in php code so that it executes during a loop.
Currently, I'm using the
exec(checkdns.tcl);
Ive also tried
exec(tclsh checkdns.tcl);
It doesnt appear to be running. Ive check permissions on the file and they
are all correct and Ive even tried it giving permissions to absolutely everyone
to make sure.
Any ideas what Im doing wrong?
Best Regards,
Bob Irwin
Domain & Server Admin
Planet Netcom