File() function and require()

From: Date: Wed, 15 Jan 2003 20:29:00 +0000
Subject: File() function and require()
Groups: php.general 
Request: Send a blank email to php-general+get-131749@lists.php.net to get a copy of this message
How can I get the file() function to ignore the first three lines of a file it is reading in? I have a site with: <?PHP require("membercheck.php"); ?> ... rest of file at the top of all the pages to control user logins. The problem is the file() function only reads in the contents of that file, not the rest of the contents after the require statement. Is there a way to tell file() to ignore the first three lines?

« previous php.general (#131749) next »