Log in

View Full Version : How do I run a custom written utility script from PHP?


XTF
09-17-2006, 08:36 PM
Hi,

I've written a utility script that I'd like to run through PHP CLI (php -f <file>), but that doesn't work at the moment. I get HTML output instead from one of the vB init functions.

My script starts like:
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_file.php');

What can I do to fix this?

XTF
09-22-2006, 02:24 PM
Somebody?

XTF
11-20-2006, 05:11 PM
Anybody?