note 24257 rejected from function.fopen by jmcastagnetto

From: Date: Sun, 11 Aug 2002 00:46:29 +0000
Subject: note 24257 rejected from function.fopen by jmcastagnetto
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34796@lists.php.net to get a copy of this message
im tryin to open a text file in a table using fopen: <table border="0" cellspacing="0" cellpadding="0" height="48" width="100%"> <tr bgcolor="#9999cc"> <td align="center" rowspan="2" width="120"> <?PHP $fp = fopen ("$path.txt", "r"); include("$fp"); ?> </td> </tr> </table> to open the text file i saved this php file into the same folder the text file is in so i used this url: http://www.pureevil.d2g.com/port/test1.php?path=gfx i get this error Warning: Failed opening 'Resource id #1' for inclusion (include_path='.;c:\php4\pear') in d:\appserv\www\port\test1.php on line 8 whats wrong?

« previous php.notes (#34796) next »