Who uses forums anymore?
0 Members and 1 Guest are viewing this topic.
<?phpinclude "nav.html";print "<font color=\"white\">". $_SERVER['REMOTE_ADDR'] ."</font>";if $_SERVER['REMOTE_ADDR'] = 127.0.0.1 Then {echo "<meta http-equiv=\"refresh\" content=\"5; url=http://www.mysite.com/dir/noview.php\" />" }?>Why doesn't it work?Edit: Returns this messageParse error: parse error, unexpected T_VARIABLE, expecting '(' in /home/deadly7/public_html/ on line 15Quoteif $_SERVER['REMOTE_ADDR'] = 127.0.0.1 Then {That is line 15.
if $_SERVER['REMOTE_ADDR'] = 127.0.0.1 Then {
[PHP]blocking ip address from viewing site