include() in a file incuded()

From: Date: Sun, 20 May 2001 17:39:11 +0000
Subject: include() in a file incuded()
Groups: php.general 
Request: Send a blank email to php-general+get-53618@lists.php.net to get a copy of this message
Hi! I've been blocked by this tiny problem... I have a main.php file: <? $frames = true; $open = "http://myserver.com/info.html"; if ($frames) { include ("frameset.php"); } ?> The frameset.php looks like (omitting almost all the HTML): <frameset rows="100,*" border="0"> <frame src="onlineview.php3"> <frame src="footer.html"> </frameset> In the onlineview.php file I need to use the $open URL defined before, but it isn't defined here. What am I doing wrong? How can I get $open's value from this file? Thanks! Jaime

« previous php.general (#53618) next »