Created
August 31, 2014 13:46
-
-
Save fikrirasyid/835de43fa7dd49397863 to your computer and use it in GitHub Desktop.
PHP: Get Web Page As Code To Be Copy-Pasted
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre> | |
<?php echo htmlspecialchars( file_get_contents( $url_to_be_copy_pasted ) ); ?> | |
</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment