Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fikrirasyid/835de43fa7dd49397863 to your computer and use it in GitHub Desktop.
Save fikrirasyid/835de43fa7dd49397863 to your computer and use it in GitHub Desktop.
PHP: Get Web Page As Code To Be Copy-Pasted
<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