look at this
header("Location:http://localhost/downloaddetails.php?dwnloadfile=".$dwnloadfile);
I have a hidden field in downloaddetails.php
<input type="hidden" name="dwnloadfile" value="<?echo $dwnloadfile;?>">
now I am able to get the value of $dwnload file when I run apache from windows. But I am not able to get the same result from linux server.
Again when I try to access the file from my localmachine like
$newpage="http://localhost/pdfs/".$dwnloadfile;
I am ale to view it. But I am not able to get the same result in Linux..
where am I wrong?