How To Extract/Fetch HTML source code from another website?
Posted: Fri Jun 22, 2007 10:05 pm
Hi, I'm trying to code my php that allows me to extract or fetch the html codes from another website, then i'll filter it myself to get only the specific text i want and display or echo it directly to my page.
e.g. you goto my page, and it will display a list of google's search result based on a fixed search string i code into the page.
e.g.search "asdf"
in google it will show "http://www.google.com.my/search?hl=en&q ... arch&meta="
in my page it will show:
i know its a dumb function, but i have my reasons.
please help me.
thanks.
e.g. you goto my page, and it will display a list of google's search result based on a fixed search string i code into the page.
e.g.search "asdf"
in google it will show "http://www.google.com.my/search?hl=en&q ... arch&meta="
in my page it will show:
these text adn hyperlinks are extracted instantly the moment they goto my site.asdf
http://www.asdf.com/ - 3k - Cached - Similar pages
What is asdf?
http://www.asdf.com/whatisasdf.html - 5k - Cached - Similar pages
CLiki : asdf
http://www.cliki.net/asdf - 17k - Cached - Similar pages
CLiki : ASDF-Install
http://www.cliki.net/ASDF-Install - 34k - Cached - Similar pages
Association Of Synchronous Data Formats
http://www.asdf.org/ - 4k - Cached - Similar pages
Home row - Wikipedia, the free encyclopedia
en.wikipedia.org/wiki/Home_row - 16k - Cached - Similar pages
asdf Manual
constantly.at/lisp/asdf/ - 11k - Cached - Similar pages
ASDF - A Simple DVD Frontend for MPlayer
asdf-mplayer.sourceforge.net/ - 4k - Cached - Similar pages
asdf-jkl - Google Code
code.google.com/p/asdf-jkl/ - 7k - Cached - Similar pages
http://www.myspace.com/asdfrock
profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=31856324 - 138k - 21 Jun 2007 - Cached -
i know its a dumb function, but i have my reasons.
please help me.
thanks.