dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Including content from another site

  1. #1
    Join Date
    Jul 2009
    Posts
    16

    Including content from another site

    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.

  2. #2
    Join Date
    Jun 2005
    Location
    United Kingdom
    Posts
    1,043

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles