Restricting global.php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
paul_so40
Forum Newbie
Posts: 1
Joined: Sun Mar 08, 2009 1:32 pm

Restricting global.php

Post by paul_so40 »

Hi all, ill try to make sence lol

i have 2 global.php files that conflict.

so this is what i want to do.

on the index file i include header.php now in that header file i want to include global1.php just for that include file, and not the rest of the page.

and for the rest of the page i want to include global2.php without it getting used on header include file.

can this be done?

can someone give me the script for doing it.

Thanks

- Paul
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Restricting global.php

Post by Benjamin »

What is in global1.php? How does it conflict with global2.php?
Post Reply