I have a main page which at the moment has links to all of my sites.
I want to change this so it has a login box with a username and password.
I would like it so that when to user enters the details they are logged into the site
they signed upto.
I have been using the idea below below.
//check username and password in db
//this will give me the site they are registered to
header("Location:
http://www.$site_registered_to");
problem is that this will not pass the username and password to the other site.
it works if i use this
header("Location:
http://www.$site_registered_to?username=$username&password=$password");
But i need to post the vars, can this be done and any ideas on how?
Thanks
Start Free Trial