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! ________________________________________ Sjoerd van Oosten Digitaal vormgever [EMAIL PROTECTED] Datamex E-sites B.V. http://www.esites.nl Minervum 7368 Telefoon: (076) 5 730 730 4817 ZH BREDA Telefax: (076) 5 877 757 _______________________________________ -----Oorspronkelijk bericht----- Van: Andrew Forgue [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 6 december 2001 16:13 Aan: Oosten, Sjoerd van CC: [EMAIL PROTECTED] Onderwerp: Re: [PHP] parse error when requiring Maybe you could give a little more info on what the parse error actually says? 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) > { > ?> > > > .... > > > On the bottom of every page > <? } > else { > require "error.php"; > } > ?> > > This works fine, but now i made the files sessionstart.php and bottom.php > > sessionstart.php > -------------------------- > <? > session_start() > if ($SessieEIA->Login == 1) > { > ?> > > > bottom.php > -------------------------- > <? } > else { > require "error.php"; > } > ?> > > And i require these files on top resp. bottom of the page and i get two > parse errors. > > Can somebody tell me why? > > Thanks in advance! > > > > ________________________________________ > Sjoerd van Oosten > Digitaal vormgever [EMAIL PROTECTED] > Datamex E-sites B.V. > http://www.esites.nl > Minervum 7368 Telefoon: (076) 5 730 730 > 4817 ZH BREDA Telefax: (076) 5 877 757 > _______________________________________ > > > -- > 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] > > -- 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] -- 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]