Ok so I have a index.php page and a email_index.php page on http://www.mydomain.com.
index.php is just a form and the email_index.php page is the script that emails the form inputs.
Everything on this site works perfect.
Now, I have another site http://www.yourdomain.com with the same 2 files. But on the index.php page the only thing on the page is
<? include 'http://www.mydomain.com/index.php'; ?>
and on the email_index.php page I have
<? include 'http://www.mydomain.com/email_index.php'; ?>
So basically I need the sites to be the same but If I change something on mydomain.com it will automatically change the yourdomain.com also. But whenever I submit the form it won't send the email.
Do I need to use a different command besides include. I have also tried require but the same thing happens.
Any suggestions???