There is a semi-colon missing on the session_start() line. PHP can't pin
down the exact line number of an error where the error is a missing
terminator.

Kirk

> -----Original Message-----
> From: Oosten, Sjoerd van [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 06, 2001 8:44 AM
> To: 'Andrew Forgue'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: [PHP] parse error when requiring
> 
> 
> Parse error: parse error in 
> /home/sites/site139/web/EIA/sessionstart.php on
> line 10
> 
> It's strange that line number 10 doesn't exist!

> On Thu, 2001-12-06 at 06:51, Oosten, Sjoerd van wrote:
> > I have a question about require...
> > 
> > I have a session_start() on top of every page and an 
> if-else construction.
> > <?
> > session_start()
> > if ($SessieEIA->Login == 1) 
> > {  
> > ?>
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to