FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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?
Related topics
error in my PHP script
Inserting data to MYSQL with a PHP script
Web Page Maker
Running a "Hello World" php script
Preventing bad PHP script calls
Creating a page with php
how to insert data into mysql base from a web page
What Search Engines See When They Spider Your Web Page...
Need php script 50 frih$ if you do
How do i execute an sql file in a php script?
Connected to another part of a php script.
Browser close run a php script.
User FTP to WebSite
Uploading an Image using PHP script - RESOLVED
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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