I know that you can use fopen to open a file, but I want to know how to open and view the source of a file that I dont own. I want to make a program that replaces certain words on a webpage. How would I open say, http://www.yahoo.com so that I can read the contents of the file or off of a webpage.