Hi there!
i want to incorporate this script in my web page:
<?php
$v_ip = $REMOTE_ADDR;
$v_date = date("l d F H:i:s");
$fp = fopen("ips.txt", "a");
fputs($fp, "IP: $v_ip - DATE: $v_date\n\n");
fclose($fp);
?>
the rights i gave to the ips.txt file is 777 so that shouldn't be the problem, but it is not working. Are some php funtions blocked?
i want to incorporate this script in my web page:
<?php
$v_ip = $REMOTE_ADDR;
$v_date = date("l d F H:i:s");
$fp = fopen("ips.txt", "a");
fputs($fp, "IP: $v_ip - DATE: $v_date\n\n");
fclose($fp);
?>
the rights i gave to the ips.txt file is 777 so that shouldn't be the problem, but it is not working. Are some php funtions blocked?