Is it possible to fetch content from a different website?
Moderator: General Moderators
Is it possible to fetch content from a different website?
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... 
Last edited by legend986 on Wed Jul 18, 2007 7:15 am, edited 2 times in total.
Re: Is this possible?
Not a very good idea!!!!!
But i give you courage for suggesting such an idea.......
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Descriptive Subjects
Please use more descriptive thread subjects.
Yes, it's technically possible.
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.[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
Yes, it's technically possible.
I would look at fopen();
http://uk3.php.net/fopen
Open the url into a variable and then do what you want with that..
http://uk3.php.net/fopen
Open the url into a variable and then do what you want with that..
Re: Descriptive Subjects
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.[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
Yes, it's technically possible.
I'm sorry...
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?