views:

39

answers:

1

In my php page, I recieve a bunch of get parameters. can a file I include read these too?

+5  A: 

can a file I include read these too?

Yes. An included file behaves like normal code in the original file, with all the original variables and scope intact.

The only differences are the __FILE__, __DIR___ and __LINE__ constants that will point to the include file's path and directory.

Pekka
Thanks. Just checking.
Eric