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("Co
--- 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
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
When a file submitted I get this...
"Warning: readfile("C:\temp\test.pdf") - No such file or directory in
c:\inetpub\wwwroot\dlQ_safe
3 matches
Mail list logo