PDA

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


XTF
17 Sep 2006, 21:36
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
22 Sep 2006, 15:24
Somebody?

XTF
20 Nov 2006, 18:11
Anybody?