Hi all,
Probably a simple issue, but im learning PHP, HTML, MySQL all at once. Im writing a web app in php, and have a need to login to another web site but need the login to be seamless. After the seamless login, the app request a page that retrieves info from the "other" site. this "other" site is just in an Iframe, on a page.
After contacting the site to see if this was possible i was infomred
"sure, in fact its easy. You just have to format a cookie and place it in the http header of their requests. for most apps this is very easy."
my question is how do I do this.
this is code just before the iframe.....
<?
// verify that all reivent feilds have been filled in.
if ($lname && $fname && $streetnum && $streetname && $streettype && $city && $state && $zip && $ssn && $dob && $phone1 && $phone2)
{
setcookie("pcMID","*","","/",".teletrack.com","");
setcookie("pcPW","**","","",".teletrack.com","");
?>
ive got the info that the server needs for the login. ive got the cookie set...maybe....but the login does not take place. im totally missing something and would GREATLY appriciate any help.
James.