View Full Version : Include with passed variables?

08-24-2007, 11:17 PM
Hey all,
is it possible to include a page with passed variables and have that page read the content?


will page.php be able to get the i and u values?

08-25-2007, 12:01 AM
I don't know, my hunch says no, but you could probably have tested this in the time it took you to write it out :thumbsup:

08-25-2007, 12:03 AM
If you read the include() section in the php manual, you will find that you cannot pass parameters on the end of the url when you include the files locally through the file system.

08-25-2007, 12:32 AM
You don't really need to either, since the included page will have access to all of your variables.