Hi,
Here is the simple script with which I am trying to have the user to
download a file when the file name is posted from the user agreement page.
dlQ_safe.php
?
$file = $_POST[fileID];
$files_folder = C:\\temp\\;
$dlfile = $files_folder.$file;
header(Content-type: application/pdf);
--- Altug Sahin [EMAIL PROTECTED] wrote:
?
$file = $_POST[fileID];
$files_folder = C:\\temp\\;
$dlfile = $files_folder.$file;
header(Content-type: application/pdf);
readfile($dlfile);
?
I get this...
Warning: readfile(C:\temp\test.pdf) - No such file or
directory in
Thanks Chris, I will check it out..
Chris Shiflett [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
--- Altug Sahin [EMAIL PROTECTED] wrote:
?
$file = $_POST[fileID];
$files_folder = C:\\temp\\;
$dlfile = $files_folder.$file;
header(Content-type:
3 matches
Mail list logo