Search found 4 matches
- Mon Jul 16, 2007 2:43 pm
- Forum: PHP - Code
- Topic: variable errors, PHP
- Replies: 6
- Views: 636
- Mon Jul 16, 2007 1:38 pm
- Forum: PHP - Code
- Topic: variable errors, PHP
- Replies: 6
- Views: 636
Which means that unless you have declared a value for $filename before the include of the sessions code, you are going to get undefined variable notices. The reason, I suspect, that you are not getting these in the other environment is because display errors is set to off or your error reporting le...
- Mon Jul 16, 2007 1:17 pm
- Forum: PHP - Code
- Topic: variable errors, PHP
- Replies: 6
- Views: 636
- Mon Jul 16, 2007 11:40 am
- Forum: PHP - Code
- Topic: variable errors, PHP
- Replies: 6
- Views: 636
variable errors, PHP
I'm using the following code in a PHP page: <?php include_once('includes/functions.php'); require_once('includes/session.php'); ?> The page 'session.php' includes this code: if(!file_exists($filename)) { $rootSpec = "../"; } require_once $rootSpec . 'error.php'; The page 'functions.php' in...