Update. I re-arranged my code and now I get a popup saying "File does not begin with '%PDF-'. Here's the code as it is now. <?php session_start(); header("Cache-Control: no-cache"); header("Content-type: application/pdf"); $root = $_SERVER['DOCUMENT_ROOT']; $pdfname=$root.'/pdfs/myfile.pdf'; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>|</title> </head> <body bgcolor="#c0c0c0"> </body> </html> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php