Can someone tell me whats wrong with this script?
PHP error message:
Code:
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$str=date("Y-m-d H:i:s") . ":
echo "<a href='http://infosniper.net/index.php?ip_address=$ipamp;map_source=1amp;overview_map=1amp;lang=1amp;map_type=1amp;zoom_level=7' target='_blank'>$ip</a>";
" - " . $_SERVER['HTTP_USER_AGENT'] . " - " . $_SERVER['HTTP_REFERER'] . "\n";
Code:
Parse error: syntax error, unexpected T_STRING in path/file.php on line 4