Hi everyone
Ive been pulling my hair out with this problem and i cant find anything on the net to help. Basically i want to get the contents of a remote web page and check it for certain text. Ive tried using this javascript method:
<script language=javascript runat=server>
var url = " var xmlhttp = new ActiveXObject("MSXML2.ServerXMLHTTP");
xmlhttp.open("GET", url, 0);
xmlhttp.send("");
content=xmlhttp.responseText;
</script>
Problem is it runs at the server so i cant do anything with the code. Is there a way to do it with ASP so i can get the content into an ASP variable?
Thanks for any help
Dan
Ive been pulling my hair out with this problem and i cant find anything on the net to help. Basically i want to get the contents of a remote web page and check it for certain text. Ive tried using this javascript method:
<script language=javascript runat=server>
var url = " var xmlhttp = new ActiveXObject("MSXML2.ServerXMLHTTP");
xmlhttp.open("GET", url, 0);
xmlhttp.send("");
content=xmlhttp.responseText;
</script>
Problem is it runs at the server so i cant do anything with the code. Is there a way to do it with ASP so i can get the content into an ASP variable?
Thanks for any help
Dan