Jump to content
Sign in to follow this  
petit-ourson

Asp et les fichiers distants

Rate this topic

Recommended Posts

Bonjour,

Visiblement le sujet revient assez souvent sur d'autres forums.

   Dim oHttpRequest
  Set oHttpRequest = Server.CreateObject("Msxml2.XMLHTTP")
  oHttpRequest.open "GET", "http://www.monsite.com", false
  oHttpRequest.setRequestHeader "Content-Type", "text/plain;charset=iso-8859-1"
  oHttpRequest.send
  vContenu = oHttpRequest.responseText

Tout fonctionne bien, sauf qu'il arrive pas à me retourner les accents... Quelqu'un a une solution ?

Edited by petit-ourson

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...