RE: [PHP] Link List

From: Date: Thu, 04 Mar 2004 23:33:41 +0000
Subject: RE: [PHP] Link List
Groups: php.general 
Request: Send a blank email to php-general+get-179509@lists.php.net to get a copy of this message
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:matijevich@alliancetechnologies.net] > Sent: Thursday, March 04, 2004 4:00 PM > To: Lopez, Kaleb (GEAE, Foreign National, CIAT); > php-general@lists.php.net > 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?

« previous php.general (#179509) next »