IM USE THIS SCRIPT FOR DOWNLOAD
<?php include("config.php"); include("core.php"); connectdb(); $id = $_GET['id']; $action = $_GET["action"]; $sid = $_GET["sid"]; $downloads = mysql_fetch_array(mysql_query("SELECT downloads FROM ibwf_vault WHERE id='".$id."'")); $incresedownload = $downloads[0] + 1; mysql_query("UPDATE ibwf_vault SET downloads='".$incresedownload."' WHERE id='".$id."'"); $link = mysql_fetch_array(mysql_query("SELECT itemurl FROM ibwf_vault WHERE id='".$id."'")); header("Location:$link[0]"); ?>more when access the page to download the file shows the following error Warning: Cannot modify header information -headers already sent by (output started at /home/....
how to solve this problem? What could I pass the correct script I use php5 on pages
DoRiAnN DaMoN
coder programmer http://www.plugadoz.net