Are you sure that file exists? When I try to access it with my browser I get a 404.
--Sam Lopez, Kaleb (GEAE, Foreign National, CIAT) wrote: > I'm sorry. I got confused. I'm using file. Here's a part of the code, > more or less. I don't get anything. The table is blank. > > // I'm creating the array here. > $inputfile = file('http://aepd.mtc.ge.com/portal/test/links.inc'); > > // Here come the links... > foreach ($inputfile as $line_num => $linea) { > echo "<a href=http://" . htmlspecialchars($linea) . "><br />\n"; > > > Thanks > > > -----Original Message----- > From: Matt Matijevich [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 04, 2004 4:00 PM > To: Lopez, Kaleb (GEAE, Foreign National, CIAT); > [EMAIL PROTECTED] > Subject: Re: [PHP] Link List > > > <snip> > I have tried to use readline to make this happen, but I'm getting > error messages. Somebody with a suggestion about this? </snip> > > have any code samples or example error messages for us? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php