Hi,
Could somebody please tell me why I can't print pre-defined variables to a file with
fwrite()?
The code I use is this:
$filename = '../vlog.txt';
$fd= fopen($filename, 'a');
$a= date(YmdHi);
$b= basename($PHP_SELF);
$c= $HTTP_USER_AGENT;
$d= $HTTP_HOST;
$e= $_SERVER['HTTP_HOST'];
On Wednesday 11 December 2002 03:00, Alberto Brea wrote:
Hi,
Could somebody please tell me why I can't print pre-defined variables to a
file with fwrite()?
The code I use is this:
$filename = '../vlog.txt';
$fd= fopen($filename, 'a');
$a= date(YmdHi);
$b= basename($PHP_SELF);
$c=
All these variables show on the browser quite well from a regular .php file, so they
are still pre-defined, but I can't fprint() them to a text file.
3 matches
Mail list logo