Running Apache on Win XP. Using the follow php script.
<?php
{
exec("/var/www/dat/qstat -grs,ignoreserverplayer=yes 208.144.248.104
-grs,ignoreserverplayer=yes 208.144.248.105 -R -P -tsw -Th
/var/www/dat/ghostreconTh.html -Tp /var/www/dat/ghostreconTp.html -Ts
/var/www/dat/ghostreconTs.html -Tt /var/www/dat/ghostreconTt.html -sort g
-of /var/www/dat/ghostrecon.html");
// Read the entire file into the variable $file_contents
$filename = '/var/www/dat/ghostrecon.html';
$fp = fopen( $filename, 'r' );
$file_contents = fread( $fp, filesize( $filename ) );
fclose( $fp );
echo $file_contents;
}
?>
The qstat program called above is starting on the server, but the ghostrecon.html file is not updating. Do i need to set something in my Apache config file to allow the above contents to be dumped into ghostrecon.html?
Thx for any help.