Просмотр файла from.php
<?php include "config.php"; if(isset($go)&&!empty($go)){ if(get_magic_quotes_gpc()){ $go = stripslashes($go);} $go = mysql_real_escape_string($go); $q = @mysql_query("select `outcounter` from `cool_site` where link='$go';"); $data = @mysql_fetch_array($q); $data['outcounter'] += 1; @mysql_query("update `cool_site` set outcounter='".$data['outcounter']."' where link='$go';"); header("Location: $go");} ?>