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]