This script will get a website address dynamically from the url.
Example: www.site.com/fetch.php?url=http://www.google.com to fetch its(google.com) content using php simple html dom parser but my script cant get the url .. any idea>
$url = htmlentities($_GET['url']);
$html = file_get_html('$url')->plaintext;
$result = $html;
Do not quote the
$urlvariable: