Просмотр файла refcat/out.php

Размер файла: 553B
<?
header("Cache-Control: no-cache");
require("inc.php");

$result = mysql_query ("Select * from sites where id='".$id."' "); //???? ? ?? ???? ?? ??????? ????? ???????


$row=mysql_fetch_array($result); //???????? ?????? ?? ?? ? ??????????? ?? ??????????

$adres=$row["adres"];
$id=$row["id"];
$out=$row["out"];
$totalout=$row["totalout"];
$rand=rand(1,2);
$out=$out+$rand;
$totalout=$totalout+$rand;

mysql_query("update `sites` set `out`=$out, `totalout`=$totalout where id='".$id."'");

header ("Location: $adres");

exit; 

?>