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 ([EMAIL PROTECTED]) "Nicholas Mercier" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
