Hey guys, sorry, I've forgotten the function you use to download the HTML code of another page. Could anyone enlighten me?
Download HTML Code
Started by Xav, Jun 01 2008 11:29 AM
8 replies to this topic
|
|
|
#2
Posted 01 June 2008 - 04:48 PM
I don't know how to do it in PHP. But if you telnet to a page you will get the code.
Microsoft Telnet> open
< to > website 80 (443) {Depending on the protocol that is running}
You will get the source.
Microsoft Telnet> open
< to > website 80 (443) {Depending on the protocol that is running}
You will get the source.
Edited by MeTh0Dz, 01 June 2008 - 04:50 PM.
#4
Posted 02 June 2008 - 07:34 AM
#7
Posted 02 June 2008 - 10:30 AM
preg_match() - there is a reply i made somewhere when phpforfun asked a similar question.
#9
Guest_Jordan_*
Posted 04 June 2008 - 05:56 PM
Guest_Jordan_*
You can also just use fopen() to fetch the HTML but I doubt your host allows external URL fetching using fopen.


Sign In
Create Account


Back to top









