I'm trying to run the following page on my desktop from my host
server. It works just fine if I run it from my desktop, but not if I
run it from the server. I get "Error: Permission denied" on the
"newActiveXObje ct" statement. I understand about the security issues
surrounding ActiveX, but since I'm not accessinig any client-side
files, I would think this should work. Any ideas would be
appreciated.
Thanks,
Don
<html>
<head>
<title>Test Script</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<script type="text/javascript">
//
// Get CPC index page 1
//
var sCPCIndexPage1U RL = "http://www.google.com" ;
var xmlhttp = new ActiveXObject(" Microsoft.XMLHT TP");
xmlhttp.open("G et",sCPCIndexPa ge1URL,false);
xmlhttp.send();
var sCPCIndexPage1H TML = xmlhttp.respons eText;
//
// Display page
//
window.open("ja vascript:opener .sCPCIndexPage1 HTML");
</script>
</body>
</html>
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
server. It works just fine if I run it from my desktop, but not if I
run it from the server. I get "Error: Permission denied" on the
"newActiveXObje ct" statement. I understand about the security issues
surrounding ActiveX, but since I'm not accessinig any client-side
files, I would think this should work. Any ideas would be
appreciated.
Thanks,
Don
<html>
<head>
<title>Test Script</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<script type="text/javascript">
//
// Get CPC index page 1
//
var sCPCIndexPage1U RL = "http://www.google.com" ;
var xmlhttp = new ActiveXObject(" Microsoft.XMLHT TP");
xmlhttp.open("G et",sCPCIndexPa ge1URL,false);
xmlhttp.send();
var sCPCIndexPage1H TML = xmlhttp.respons eText;
//
// Display page
//
window.open("ja vascript:opener .sCPCIndexPage1 HTML");
</script>
</body>
</html>
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Comment