FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Web page Manipulation with PHP script

 


qbawler311
Hi, I want to be able to login to a website, surf to a couple different pages once I am logged in to the site, then scrape/extract or save some of the data off of the pages and load it in to mysql database? I know this is possible to do with PHP scripts. Can anyone direct me to a site or tut that shows me how to do this.

I am an Advanced Java and C++ programmer, but just getting into the basics of PHP and scripting. Already I have sen that there are many similiarities between Java, PHP, and C++.

I know I would be able to do this with Java but since PHP is a webscripting language I would like to use the tool that best suits the means to my end.
qbawler311
Bump me one time in case somebody can tackle this one.
qbawler311
Or if anyone knows how I can login to a website form using my username and password that would get me started.

TIA Smile
hexkid
qbawler311 wrote:
Hi, I want to be able to login to a website, surf to a couple different pages once I am logged in to the site, then scrape/extract or save some of the data off of the pages and load it in to mysql database?


The easy way to do that is with cURL.
Philip
how about a page with a image security that we need to input ?
how about a page that have a delay about 300 seconds ??

anyway how to using this Curl ??

thanks Smile
hexkid
Philip wrote:
how about a page with a image security that we need to input ?
No can do Sad

Philip wrote:
how about a page that have a delay about 300 seconds ??
use curl_setopt()
Code:
curl_setopt($ch, CURLOPT_TIMEOUT, 300);


Philip wrote:
anyway how to using this Curl ??
It's all in the fine manual Smile
qbawler311
I am using a PortableWebAp to run PHP scripts, I can't figure out how to install libcurl on it?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.