1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

asp to aspx

Discussion in 'C#' started by daniah, Feb 6, 2006.

  1. #1
    I have a small asp file that I want converted to C#. If anyone can help I'll be glad to pay $5
    the asp code is:

    <%

    urlx=Request.ServerVariables("SERVER_NAME") & Request.ServerVariables("SCRIPT_NAME")
    site=Request.ServerVariables("SERVER_NAME")

    url1="http://www.mysite/test.php?urlx=" & urlx & "&site=" & site

    set objXML = Server.CreateObject("Microsoft.XMLDOM")
    objXML.async=false

    Set xml = Server.CreateObject("Microsoft.XMLHTTP")
    xml.Open "GET", url1, False
    xml.send(objXML)

    xx=xml.responseText

    response.write xx
    SEMrush
    set objXML=nothing
    set xml=nothing


    %>
     
    daniah, Feb 6, 2006 IP
    SEMrush