I provide content to other webmasters.
My knowledge is limited to php, but through this forum I received some asp code that I can give to users so they can put the content on thier sites via asp:
'the Currency Exchange Calculator asp code
On Error Resume Next
set Http = server.CreateObject("Msxml
Http.Open "GET", url, False
cxc = Http.responseText
Set Http = nothing
I have a user (a webmaster) that is trying to use the code but gets this error:
The server name or address could not be resolved
I've double checked the code he is using and it works ok on my asp test server.
Two questions. First, of course, any ideas on why this isn't working for him? Are there any settings in a server's asp config that might prevent asp from being able to fetch a file on a different server?
Second question, my intention was that if there was a problem reaching my server (where the content is), there should be no error reported. That's what the 'On Error Resume Next' line is for. Why is that not working in this case?