i've setup a include page that's responsible for building the basic layout
of my web pages (header, menus, etc.). each page includes this
"sysheader.php" .
the first page i've built with this header is having odd results. its job is
to add users to the system. the variables i expect to be there are: id,
userName, password...stuf f like that. after the require_once
"sysheader.php" , i've put an "exit;" statement. the header shows perfectly.
if i try and access or set one of the expected variables, only part of the
header shows...crappin g out around the time it is building the company
logo - so that i see "<img src="http://www" and nothing else.
i've tried to set my own variable order and initialze the variables myself
like this:
$id = (isset($_POST['id']) ? $_POST['id'] : $_GET['id']);
but that doesn't work either. i've been running similarly constructed pages
successfully under php < 5...what am i missing now that i'm moving to php 5?
tia,
steve
of my web pages (header, menus, etc.). each page includes this
"sysheader.php" .
the first page i've built with this header is having odd results. its job is
to add users to the system. the variables i expect to be there are: id,
userName, password...stuf f like that. after the require_once
"sysheader.php" , i've put an "exit;" statement. the header shows perfectly.
if i try and access or set one of the expected variables, only part of the
header shows...crappin g out around the time it is building the company
logo - so that i see "<img src="http://www" and nothing else.
i've tried to set my own variable order and initialze the variables myself
like this:
$id = (isset($_POST['id']) ? $_POST['id'] : $_GET['id']);
but that doesn't work either. i've been running similarly constructed pages
successfully under php < 5...what am i missing now that i'm moving to php 5?
tia,
steve
Comment