header("Content-type:application/pdf"); header('Content-Disposition: attachment;filename="http://www.yourdomain.com/ebookfordownloads/$_GET['$filename']"'); readfile("/your/absolute/server/path/html/ebookfordownloads/$_GET['$filename']"); header("Content-type:application/pdf"); header('Content-Disposition: attachment; filename="http://www.yourdomain.com/ebookfordownloads/$_GET['$filename']"'); readfile("/your/absolute/server/path/html/ebookfordownloads/$_GET['$filename']"); header("Content-type:application/pdf"); header('Content-Disposition: attachment;filename="http://www.yourdomain.com/ebookfordownloads/' . $_GET['filename'] . '"'); readfile("/your/absolute/server/path/html/ebookfordownloads/" . $_GET['filename']); header("Content-type:application/pdf"); header('Content-Disposition: attachment; filename="http://www.yourdomain.com/ebookfordownloads/' . $_GET['filename'] . '"'); readfile("/your/absolute/server/path/html/ebookfordownloads/" . $_GET['filename'] ); readfile("/your/absolute/server/path/html/ebookfordownloads/{$_GET['$filename']}"); readfile("/your/absolute/server/path/html/ebookfordownloads/".$_GET['$filename']);