NO !
The headers have to be sent *after* you check the values of
$_SERVER["PHP_AUTH_USER"] , which you changed inexplicably to
$PHP_AUTH_USER (which is no longer a global variable in recent
versions of PHP > 4.1). If they are not global variables within PHP
then it'll treat them as local vari
I have a class which extends to include a mysql class.
Within the class's functions i have multiple calls (without creating an
object like '$instance = new MysqlDb()' ) to the mysql class like this:
function doThis(){
$this->query("");
$this->selectquery();
do something else here
$th