Hey friends today I am trying to save user id,date or browser but it is not working...... everytime when I upload my script to my hosting site say syntax error
<?php
$file = fopen(‘log.html’, ‘a’);
fwrite( $file, ‘<b>Ip Address:</b> $REMOTE_ADDR<br/>’);
fwrite( $file, ‘<b>Browser:</b> $HTTP_USER_AGENT<hr/>’);
fclose( $file );
?>