topical media & game development

talk show tell print

server-webapi-code-06-jump.php / php



  <?php
  require("../common_db.php");
  linkID = db_connect();
  DIRTYtarget = _GET['t'];
  query = mysql_real_escape_string(_GET['q'], linkID);
  target = mysql_real_escape_string(DIRTYtarget, linkID);
  ip = _SERVER['REMOTE_ADDR'];
  query = "INSERT INTO 06_google_cache_clicked (time, query, url, ip)
    VALUES(null, 'query', 'target', 'ip')";
  insertQuery(query);
  header("Location: DIRTYtarget");
  ?>


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.