Problems with Global Variables
Posted: Fri Jan 17, 2003 9:44 am
I am trying to create a system.config.php file in which global variables are held such as the wenmaster e-mail so that should i need to change the e-mail i only have to do it once. I am using include_once above the class definitions however it does not seem to like it when i try to call them with the class
example:
<?php
session_start();
include_once ( "../../system/system.config.php" );
class ErrorLogging
{
...
...
...
error_log( "Error Log File $this->_filename Created", 1, 'echo $ERROR_EMAIL' );
example:
<?php
session_start();
include_once ( "../../system/system.config.php" );
class ErrorLogging
{
...
...
...
error_log( "Error Log File $this->_filename Created", 1, 'echo $ERROR_EMAIL' );