> /dir1/script1.php > <?php > include("/dir1/script2.php"); > print_r($test); //works great > print_r($GLOBALS['test']); //does not work > ?>
Works fine for me when I have the include as include( 'script2.php' ); Make sure that the include is correct...I figure that you dont have dir1 off of the root directory. -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php