Re: path problems

From: Date: Wed, 28 Jan 2004 04:44:27 +0000
Subject: Re: path problems
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-176009@lists.php.net to get a copy of this message
On Tue, 27 Jan 2004 20:22:46 -0500 Scott Taylor <scotttaylor@bigfoot.com> 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/

« previous php.general (#176009) next »