Re: Stupid question

From: Date: Sun, 24 Mar 2002 18:44:11 +0000
Subject: Re: Stupid question
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-6464@lists.php.net to get a copy of this message
First of all make sure the file 'test.txt' is in the same directory as the php file (test.php).....now look at your code very carefully...Did you find the mistakes???....No.... I think this is how your code should look like.... <?php include ("test.txt") ; ?> Hope this may help you... ThanX, Sijan Khadka (info@sijan.com.np) "Nicholas Mercier" <mercie96@potsdam.edu> wrote in message news:5.1.0.14.0.20020305112457.00b100b0@mail.potsdam.edu... > Okay I've read through the FAQ and bug reports and the like. > > However I've been running into a problem I can't figure out. > After installing php to my Apache Server phpinfo() works find. > However when I try <? include(test.txt) ?> I get the following error. > Warning: Failed opening 'test2.txt' for inclusion (include_path='C:\program > files\apache group\apache\htdocs\') in c:\program files\apache > group\apache\htdocs\test.php on line 3 > > I have absolutely no clue how to address this issue. > > I am running Win2k > I have IIS turned off and apache is working fine. > > Any help at all? > Nicholas D. Mercier > > SUNY Potsdam > 315-267-7593 >

« previous php.install (#6464) next »