Re: [PHP] File() function and require()

2003-01-16 Thread 1LT John W. Holmes
> OK, I have a file called page.php that has the following code in it > (example but same layout and concept). > > > require("membercheck.php"); > ?> > > > Page Title > > > This is the text in the body of the page. > > > > The membercheck.php file contains a login for

RE: [PHP] File() function and require()

2003-01-16 Thread Mike Tharp
OK, I have a file called page.php that has the following code in it (example but same layout and concept). Page Title This is the text in the body of the page. The membercheck.php file contains a login form that is used if a session variable doesn't exist, i.e. the user

RE: [PHP] File() function and require()

2003-01-15 Thread John W. Holmes
> 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: > > 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

[PHP] File() function and require()

2003-01-15 Thread Mike Tharp
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: ... 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 af