Forum Moderators: coopster
$file = file_get_contents('http://localhost/tes.html');
<html>
<body>
<script type="text/javascript" src="http://www.gmodules.com/ig/ifr?url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fgoogle_insightsforsearch_relatedsearches.xml&up__results_type=TOP&
up__property=empty&up__search_term=Thing Thing 4&up__location=empty&up__category=0&up__time_range=48-m&up__max_results=20&synd=open&w=320 &h=350&lang=en-US&
title=Google+Insights+for+Search&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>
</body>
</html>
$file = implode("", file('http://localhost/tes.html'));
$file = file_get_contents('http://localhost/tes.html');
that's script can grab & display it, but only return source javascript only, not result text from javascipt