saving web page source code

Hi, I need your help in saving the source code of a web page as a text file. What functions should I use.
Topic archived. No new replies allowed.