Re: readfile() syntax

From: Date: Tue, 10 Apr 2001 12:57:05 +0000
Subject: Re: readfile() syntax
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6603@lists.php.net to get a copy of this message
Check your include_path in php.ini. If you want to open files like that, you should have "." in include_path. Regards, -- Yasuo Ohgaki "Antonio Minucci" <Antonio.Minucci@caspur.it> wrote in message news:3AD2EE70.9DFF3AD0@caspur.it... > hi. > i work on win 2000 with phptriad(apache+php4.0). > i need to know the syntax of readme() function. > now i've the file "projects.html" on c:\apache\htdocs\. > in index.php(on the same directory) i wrote: > <? > readfile("projects.html") > ?> > but the browser say: > Warning: readfile("projects.html") - No such file or directory in > c:\apache\htdocs\prova.php on line 5 > > somebody can help me? > thanks > antonio > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#6603) next »