Page 1 of 1

How to fetch some part of a website using PHP?

Posted: Mon Sep 27, 2010 1:20 am
by bobbili
Hello guys,

How to fetch small portion of a website using PHP?

For example , I want to fetch the value of 1 Euro in Dollar from this website.
http://www.xe.com/ucc/convert.cgi?Amoun ... age=Submit
How to do that? Thanks in advance.

Bob.

Re: How to fetch some part of a website using PHP?

Posted: Mon Sep 27, 2010 2:31 am
by DigitalMind
curl + regex

Re: How to fetch some part of a website using PHP?

Posted: Mon Sep 27, 2010 2:43 am
by requinix
Aww, too bad what you want is explictly disallowed by their Terms of Service.

Like what they have to offer? Great. Pay for it like everybody else does.

Re: How to fetch some part of a website using PHP?

Posted: Mon Sep 27, 2010 5:39 am
by bobbili
tasairis wrote:Aww, too bad what you want is explictly disallowed by their Terms of Service.

Like what they have to offer? Great. Pay for it like everybody else does.

Its was an example. :)

Re: How to fetch some part of a website using PHP?

Posted: Mon Sep 27, 2010 6:57 am
by itimeheke
Use regex ;)