From: skaill <sk...@ro...> - 2004-09-09 09:52:17
|
I've noticed this type of thing in some scripts... $title =3D 'Receive Controlled Items'; $PageSecurity =3D 11; /* Session started in header.inc for password checking and authorisation = level check */ include('includes/DefinePOClass.php'); include('includes/DefineSerialItems.php'); include('includes/session.inc'); include('includes/header.inc'); If $title was moved below session.inc and above header.inc that would be = good for $title. However, DefineSerialItems.php has a string in it = which means it also needs to be after session.inc. session.inc never uses any includes before it and verifies access so I'm = thinking session.inc should always be the first include anyway. Can you = confirm this Phil? Steve |