Page 1 of 1
Is it possible to fetch content from a different website?
Posted: Wed Jul 18, 2007 5:11 am
by legend986
Is there a way I could query a website for some term and then display the result on my site? For example, query google for something and display the result on my site... Well, it could be any site as such...

Re: Is this possible?
Posted: Wed Jul 18, 2007 5:57 am
by ghadacr
Not a very good idea!!!!!

But i give you courage for suggesting such an idea.......
Posted: Wed Jul 18, 2007 6:11 am
by legend986
Oh... Could you elaborate please?
Descriptive Subjects
Posted: Wed Jul 18, 2007 6:54 am
by feyd
Please use more descriptive thread subjects.
Generally, you're referring to what the target website will consider as theft of their information. Without written permission and/or proper attribution you can get yourself into some serious legal waters.
Yes, it's technically possible.
Posted: Wed Jul 18, 2007 7:05 am
by dave_c00
I would look at fopen();
http://uk3.php.net/fopen
Open the url into a variable and then do what you want with that..
Re: Descriptive Subjects
Posted: Wed Jul 18, 2007 7:19 am
by legend986
feyd wrote:Please use more descriptive thread subjects.
Generally, you're referring to what the target website will consider as theft of their information. Without written permission and/or proper attribution you can get yourself into some serious legal waters.
Yes, it's technically possible.
I'm sorry...

I'll note that point from now. I've changed the title to reflect what is there in my thread...
And yeah, it would be with permission. I wouldn't dare get into problems. My site is a simple education site so I cannot take that risk...
So, I would use fopen() and then if there is a table inside... I would take the file pointer to that table and then extract data from there is it?