I think he's trying to say this:
S/He is developing a page for his sisters school club and he wants to use this page as his/her own index page for his own website. So s/he'd like to know if s/he can use if($_GET['page']) to switch between the two sites or not.
Is that it? Something along those lines? If so, yes, you can use index.php to switch between which site is seen by visitors using the if($_GET['page']) statement. It would most likely go something like:
URL:http://www.domain.com/index.php?p=1
<?php
if($_GET['p']==1)
{
// The user wants to go to page 1 on the other site, send them there
header("Location: http://www.domain2.com/index.php");
}
elseif($_GET['p']==2)
{
// Now they want to go to your sites main page
header("Location: http://www.domain.com/main.php");
}
else
{
// Otherwise, we'll direct them to your sites main page
header("Location: http://www.domain.com/main.php");
}
?>
Something like that?
~Brett