On Tue, 27 Jan 2004 20:22:46 -0500 Scott Taylor <[EMAIL PROTECTED]> wrote:
> I understand all of the file size ones. What I really don't > understand is why neither of the following examples work: > > /* example 1 */ > /* where $_SERVER['DOCUMENT_ROOT'] = > /usr/local/psa/home/vhosts/domain.com/httpdocs */$file = > $_SERVER['DOCUMENT_ROOT'] . '/archive/newsletters/Dec03.pdf'; > readfile($file); > > > /* example 2 */ > $file = 'archive/newsletters/Dec03.pdf'; > readfile($file); How does it not work? Errors, anything? -- - E - __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php