Просмотр файла out.php
<?php include "config.php"; $q = @mysql_query("select `outcounter`,`alloutcounter` from `".$px.$utable."` where link='$link';"); $data = @mysql_fetch_array($q); $data['outcounter'] += 1; $data['alloutcounter'] += 1; @mysql_query("update `".$px.$utable."` set outcounter='".$data['outcounter']."',alloutcounter='".$data['alloutcounter']."' where link='$link';"); header("Location: $link"); ?>