> > 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]