View Full Version : Having include() issues...

12-24-2003, 07:41 AM
Okay - Let me give you all a quick run down on how my site operates...

Each subdirectory has an index.php file that is simply one line:

<? include("http://ysuperleague.com/system/?url=xgin"); ?>

xgin represents the subdirectory (http://ysuperleague.com/xgin)

The system/index.php then loads up 3 frames all with ?url=xgin (or ?url=$url).

Now, the problem is; when I include something further, it sometimes does not read pass the variables back. In other words, I seem to be having an issue with the 2nd include (an include within an include) - is this a regular issue? And have I made any sense here? LOL

If anyone knows what I am rambling on about - feel free to comment! LOL

Thanks in advance :thumbsup:

12-24-2003, 08:59 AM
Nevermind - it decided to work all of a sudden! LOL

12-27-2003, 02:56 PM
I had/have same problem, variables dont get passed to second include...the only sollution I found is add global list before first include...strange...