I have been using include() to change the content of a web page by creating a template then altering the page content by including different pages
eg
include("pages/".$select.".php");
I have used this technique successfully on many websites but because several pages are all the same (eg a contact form) I decided to keep them in one place and reference them from each sites.
eg
include("http://www.mydomain.com/commonpages/".$select.".php");
The problem is that the values of any variables in the included page aren't passed to the mother page. (eg sql queries)
Is there a way I can make it so pages on another domain can be included as if they were on the same domain?
Thanks ... Fizz