Home arrow CodeS arrow Working Force Download

Firefox Ad

Herzlichen Glückwunsch zu Ihrem Browser..
Durch die Weiten des WEBs mit:

An apple a day keeps the doctor away...


Joomla-Shop


NiK-IT.de Barcode


Working Force Download PDF Drucken E-Mail
Sonntag, 10. September 2006
Working Force Download with id=$id
<?php
$id = addslashes ($id)
require("mysql_connect.php");
$c = mysql_query("select counter,url from links where id='$id'");
$get_count = mysql_query("select counter from downloads where id='$id'";
$d = mysql_fetch_object($c);
if(is_object($d)) {
   $d->counter++; 
   mysql_query("update downloads \n
      set counter='$d->counter' \n
      where id='$id'");
   Header("Location: $d->url");
}
else {
   include('403.php');
}
mysql_close();
?>
gefunden bei: http://forums.devshed.com
 
< zurück   weiter >
 


Suchmaschinenoptimierung mit Ranking-Hits PageRank Verifizierung www.nik-it.de
symmetrical