Created
April 4, 2013 01:54
-
-
Save narita1980/5307085 to your computer and use it in GitHub Desktop.
元の状態を維持したまま解析をする(file_get_html)
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
<?php | |
require_once('simple_html_dom.php'); | |
$url = "http://google.co.jp"; | |
$html = file_get_html($url, false, null, 1, -1, true, true, DEFAULT_TARGET_CHARSET, false); | |
echo $html; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment