hi
i want to make simulation of one website that have login page like as this:
main site : http://register.nic.ir/
i maked this via curl in mywebsite
CURL:
$curl = curl_init();
curl_setopt ($curl, CURLOPT_URL, "http://register.nic.ir/");
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$mswdata = curl_exec ($curl);
curl_close ($curl);
echo $mswdata;
it showes only welcome page of http://register.nic.ir/ but i want to make simulation of all this website (that uses of session).
I saw the simulation of http://register.nic.ir in another site but i don't know how do i make it in my website.
is curl good way?
any idea?
Thanks