Error:
Warning: Cannot modify header information - headers already sent by (output started at /home/codingso/public_html/root/includes/header.php:4) in /home/codingso/public_html/root/ipslogged.php on line 6
Warning: Cannot modify header information - headers already sent by (output started at /home/codingso/public_html/root/includes/header.php:4) in /home/codingso/public_html/root/ipslogged.php on line 7
Warning: Cannot modify header information - headers already sent by (output started at /home/codingso/public_html/root/includes/header.php:4) in /home/codingso/public_html/root/ipslogged.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home/codingso/public_html/root/includes/header.php:4) in /home/codingso/public_html/root/ipslogged.php on line 9
PHP Code:
Please help :(PHP Code:<?php
$dir="".$iplogfile;//2
if (isset($_REQUEST["download"])) {//3
$file=$dir.$_REQUEST["file"];//4
header("Content-type: application/force-download");//5
header("Content-Transfer-Encoding: Binary");//6
header("Content-length: ".filesize($file));//7
header("Content-disposition: attachment; //8
filename=\"".basename($file)."\"");//9
readfile("$file");//10
}
?>

