
16.03.2006, 04:05
|
|
Banned
Регистрация: 18.01.2006
Сообщений: 13
Провел на форуме: 28772
Репутация:
-11
|
|
s.gif
<?
define("FILE", "s.gif");
require "config.php";
require "functions.php";
cleaner();
$sniffed['date'] = date("d.m.Y H:i");
$sniffed['ip'] = $_SERVER['REMOTE_ADDR'];
$sniffed['referer'] = htmlspecialchars(stripslashes(urldecode($_SERVER['HTTP_REFERER'])));
$sniffed['query'] = htmlspecialchars(stripslashes(urldecode($_SERVER['QUERY_STRING'])));
$sniffed['agent'] = htmlspecialchars(stripslashes($_SERVER['HTTP_USER_AGENT']));
$sniffed['real_ip'] = htmlspecialchars(stripslashes($_SERVER['HTTP_X_FORWARDED_FOR']));
$data = array();
$data_content = get_file_content($data_filename);
if ($data_content !== NULL) $data = unserialize($data_content);
$entrie = serialize($sniffed);
$data[] = $entrie;
$data_content = serialize($data);
put_file_content($data_filename, $data_content);
show_picture();
die();
?>
this s.gif becomes code can I put in order this problem
|
|
|