Click to See Complete Forum and Search --> : Including content from another site


KnightDeveloper
07-23-2009, 02:47 PM
I know that ASP has an include method to include content from another site, but I need to include content from a page that is dynamically generated. In PHP, I would be using this code:

$content = file_get_contents("http://www.mysite.com/search-results.php");
echo $content;

Is there an equivalent in ASP or ASP.NET that would do the same?

Thanks.

kiwibrit
07-30-2009, 01:32 PM
Have a look here (http://forums.asp.net/t/1444805.aspx)