Try doing a var_dump() or a print_r() on $inputfile to make sure you are actually getting the file's content.
HTH Martin > -----Original Message----- > From: Lopez, Kaleb (GEAE, Foreign National, CIAT) > [mailto:[EMAIL PROTECTED] > Sent: Friday, 5 March 2004 12:23 PM > To: Phpgen (E-mail) > Subject: RE: [PHP] Link List > > > It's not on the Internet. Sorry. > The page is for an intranet service. > > Actually, the contents is pretty simple. It has 6 or 7 lines > with links in > the style of > > www.yahoo.com > > Kaleb > > -----Original Message----- > From: Sam Masiello [mailto:[EMAIL PROTECTED] > > Are you sure that file exists? When I try to access it with > my browser > I get a 404. > > --Sam > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php