Yes,

If I download the file as it is named, it is the file I expected, only not
named the way I wanted.

George

"MrBaseball34" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >
> > And the php page which is fileaccess.php:
> >
> > <?php
> > $fp1 = "D:\\Pdf\\" . $fp;
> > $len = filesize($fp1);
> > header("Content-Type: application/pdf");
> > header("Content-Disposition: inline; filename=$fp1");
> > header("Content-Length: $len");
> > readfile($fp1);
> > ?>
>
> Have you CHECKED the value of $fp?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to