Re: path problems

From: Date: Wed, 28 Jan 2004 23:17:58 +0000
Subject: Re: path problems
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-176142@lists.php.net to get a copy of this message
Stuart wrote:
Scott Taylor wrote:
$file_two = 'archive/newsletters/Dec03PostPress.pdf';
Try replacing this line with... $file_two = $_SERVER['DOCUMENT_ROOT'].'/archive/newsletters/Dec03PostPress.pdf';
As my first posts states, I've tried that. And no, that doesn't work either. And on another note: the exact error is "File does not begin with '%PDF-' " I believe this would be the same error you would obtain if your tried opening a non-pdf file in adobe acrobat. Best Regards, Scott

« previous php.general (#176142) next »