Please convert 2 lines

Discussion in 'C#' started by JEET, Oct 30, 2006.

  1. #1
    Hi,
    Can someone please give me the ASP of this PHP code?

    <?php
    echo file_get_contents($myv);
    ?>

    It gets the entire content of a webpage and displays it on the page where the code runs. Supports http:// also.

    I think I will first have to set the variable "myv" using:

    dim myv="http://site.com?id=33";
    Is that right?

    Thanks for helping.
    Bye
    jeet :)
     
    JEET, Oct 30, 2006 IP
  2. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #2
    i think this is it
     
    ludwig, Oct 30, 2006 IP
  3. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #3
    Hi,
    Thanks. :)
    I will try this and let you know how it goes.
    Thank you for helping. :)
    Bye
     
    JEET, Oct 30, 2006 IP
  4. ludwig

    ludwig Notable Member

    Messages:
    2,253
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    225
    #4
    you're welcome, any good news?
     
    ludwig, Oct 31, 2006 IP