CrimeMaster
2006-06-29 12:38:12 UTC
Hi
Before this i have send a request about WINHHTP help.But coulnt find
any answer till now except one in which may be the Replier coulnt
understand the problem ,sorry for that.
Now i m using WinInet classes
CInternetSession,CHttpConnection,CHttpFile like this.
I want to send a request to a website (for example www.mysite.com) and
want to extract the html of default page or home page.
On this page their is a form in which user can place his Email and
password and then S/He can be login.
i m using the OpenURL() function of class CInternetSession to get the
HTML of the page which i m requesting.
then i want that i make a url and fill it with the user name and
password and send that url to the OpenURL() function of
CInternetSession class so that i could get the HTML of the page which
display after the user has been login successfully.
I m recieving the HTML of First page when i send the url to the OpenURL
,"www.mysite.com"
in my object of CHttpFile class. But when i make a url then i m not
getting the correct HTML of the page which display the user that u have
successfully login.But its sending the HTML of the page which display
error message that user had not entering the correct password.
I just want to do work like CRAWLING.and plz tell me how i can do this
with WinInet classes.
CrimeMaster
Before this i have send a request about WINHHTP help.But coulnt find
any answer till now except one in which may be the Replier coulnt
understand the problem ,sorry for that.
Now i m using WinInet classes
CInternetSession,CHttpConnection,CHttpFile like this.
I want to send a request to a website (for example www.mysite.com) and
want to extract the html of default page or home page.
On this page their is a form in which user can place his Email and
password and then S/He can be login.
i m using the OpenURL() function of class CInternetSession to get the
HTML of the page which i m requesting.
then i want that i make a url and fill it with the user name and
password and send that url to the OpenURL() function of
CInternetSession class so that i could get the HTML of the page which
display after the user has been login successfully.
I m recieving the HTML of First page when i send the url to the OpenURL
,"www.mysite.com"
in my object of CHttpFile class. But when i make a url then i m not
getting the correct HTML of the page which display the user that u have
successfully login.But its sending the HTML of the page which display
error message that user had not entering the correct password.
I just want to do work like CRAWLING.and plz tell me how i can do this
with WinInet classes.
CrimeMaster