Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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']);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement