|
||||||||
Can anyone offer any help? I'm stumped. > I've written a PHP script to update my public IP with EveryDNS, but I > can't figure out how to get m0n0wall to run it with it's command line > PHP. I've tried using exec.php to run "php -f /tmp/everydns-update.php" > but I get the following: > $ php -f /tmp/everydns-update.php > Status: 404 > X-Powered-By: PHP/4.4.1 > Content-type: text/html > > No input file specified. > I've also tried "/usr/local/bin/php /tmp/everydns-update.php" but I get > the following: > $ /usr/local/bin/php /tmp/everydns-update.php > X-Powered-By: PHP/4.4.1 > Content-type: text/html > > > Warning: Unexpected character in input: '' (ASCII=12) state=1 in > /usr/local/bin/php on line 2867 > > Parse error: parse error, unexpected T_STRING in /usr/local/bin/php on > line 2867 > > Can anyone offer any help? > Ray |