>>
Write a script that displays the source code of a given URL
Here are the latest comments for the resource View Source Code Page in PHP.
How to assemble this code
John commented on 31/01/2008, 07:54:57
If you add id attributes to each line number you can also send users to specific spots in the code with fragment identifiers.
Douglas Clifton commented on 22/10/2006, 00:44:38
Brave_Sequn php aint avaible thru the source code in the browser
Frozt commented on 05/09/2006, 04:09:43
The point of the tutorial was to demonstrate reading HTML in through a HTTP file stream - I guess most people failed to see that.
DrQuincy commented on 25/08/2006, 12:13:41
The point is some sites dont allow right click to see sorce code so this will able you to see it.
Coming Soon... commented on 25/08/2006, 10:52:27
Ben - you'd need to read it in through a local file stream rather than through HTTP. Be careful though - it's not always a good idea to show people your PHP code.