Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
PHP information From other to My Site
Old 12-05-2010, 07:00 AM PHP information From other to My Site
Junior Talker

Posts: 1
Name: Erikas
Trades: 0
Hello,

Now i'm thinking about one project.
And i have one question:
Is it possible to get information from one website to my website.

Example,
I have a website (yyy.com) and i want to get information about goods: prices, title, description, etc. which are posted in notmywebsite.com.

So, how can i get this information and how to use it for my own purposes.
erixas is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-05-2010, 02:46 PM Re: PHP information From other to My Site
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
So long as allow_url_fopen is enabled in your php.ini you can use file_get_contents to read in a url. Alternatively you can use curl.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 12-06-2010, 07:58 AM Re: PHP information From other to My Site
Skilled Talker

Posts: 76
Name: Nick Cousins
Location: Northern Ireland
Trades: 0
The technique you're describing is called "scraping" - there are many articles out there, and as NullPointer said there are a few PHP techniques.

Be careful of the legalities of scraping copyrighted content though!
__________________
Join
Please login or register to view this content. Registration is FREE


Knowledge is power. Never underestimate the power of stupid people in large numbers.

HandCoder is offline
Reply With Quote
View Public Profile Visit HandCoder's homepage!
 
Reply     « Reply to PHP information From other to My Site
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11763 seconds with 12 queries