Log in

View Full Version : How can i see the source code of a webpage?


KiSCiX
March 8th, 2001, 11:10
i know that you can see the source code by right-clicking on the webpage , then click on source code...

but im looking for a way to see the source code of a target webpage:
exemple: sourcecode://www.yahoo.com

wating for replies... thanks

IcyDee
March 13th, 2001, 03:26
I assume that you mean you want to 'look' at the source code from a program.

One way would be to write a socket program which connects to the URL and retrieves the page.

Do some searches for 'socket' and 'perl' if this is what you want to do.