Posted: Sat Nov 04, 2006 6:12 am
That's all I needed to know. Thanksfeyd wrote:The value you give to include() can only be a file location. Nothing else.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
That's all I needed to know. Thanksfeyd wrote:The value you give to include() can only be a file location. Nothing else.
Code: Select all
$_GET['something'] = "some value";
include('somefile.php');If you have the value to populate the querystring then you have the values you need use in the included file.MarkAshley wrote:I have a requirement to pass a page and some variables to a script, which get included. The variables which also get included aren't the same every time. So I have to store the variables somewhere else and then retrieve them later. It would be easier if I could just add them to the URL I include().