http 406 not acceptable
Posted: Sun Apr 27, 2008 8:38 pm
URL that should work: http://www.wpskins.org/download.php?the ... rdetox.zip
the code
any idea's on how to resolve this problem
the code
Code: Select all
<?
session_start();
include('config.php');
$id = mysql_real_escape_string($_GET['theme']);
mysql_query("UPDATE themes SET downloads=(downloads + 1) WHERE id='$id'") or die(mysql_error());
mysql_query("UPDATE stats SET downloads=(downloads + 1) WHERE id='1'") or die(mysql_error());
header ("Location: " . $_GET['url'] );
?>