ציטוט:
נכתב במקור על ידי Homie
וזה יסתיר את הנתיב האמיתי?
יעני אין שום דרך לדעת מהי כתובת ה-URL האמתית?
אלי.
|
כן אפשר.
תוכנות כמו flash get יכולות לתפוס את הכתובת.
תנסה עם זה:
PHP קוד:
<?php
// We'll be outputting a PDF
header('Content-type: application/pdf');
// It will be called downloaded.pdf
header('Content-Disposition: attachment; filename="downloaded.pdf"');
// The PDF source is in original.pdf
readfile('original.pdf');
?>
http://il.php.net/manual/en/function.header.php