Display the source code of a webpage.


/ Published in: PHP
Save to your folder(s)

Want to be able to display the source code of any webpage, with line numbering? Here is a simple code snippet to do it. Just modify the url on line 2 at your convenience. Or even better, make a pretty function according to your needs.

URL: http://perishablepress.com/code-snippets/#code-snippets_php

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.