View difference between Paste ID: JdR9CPQz and HwgrUh25
SHOW: | | - or go back to the newest paste.
1
<?php
2
header( 'Location: http://www.google.co.uk') ;
3
$ip = $_SERVER['REMOTE_ADDR'];
4
$fo = fopen("ip.txt", "a");
5
$fw = fwrite($fo, "$ip\n");
6
fclose($fo);
7
?>