How to access other website and get particular text from it

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Deepak_k
Forum Newbie
Posts: 1
Joined: Fri Nov 14, 2008 5:42 am

How to access other website and get particular text from it

Post by Deepak_k »

Hi All,
Please help me to solve the below issue.

I am writing a script through which I need to go to a external website and login to that site and extract some text from it.


ex : I need to go to rediff.com and get some data from that site.


Regards
Deepak
User avatar
andyhoneycutt
Forum Contributor
Posts: 468
Joined: Wed Aug 27, 2008 10:02 am
Location: Idaho Falls

Re: How to access other website and get particular text from it

Post by andyhoneycutt »

curl should do the trick for you. If that's too much, try fopen.
cURL

-Andy
Post Reply