-3

my single index.asp site like this

<html>
<head>
<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
<title>xxx</title>
</head>
<frameset rows="0,*,0" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="123456789" name="mainFrame">
</frameset>
</html>

when i go address index.asp?openurl=www.google.com

How www.google.com is import to 123456789

John Saunders
  • 160,644
  • 26
  • 247
  • 397

1 Answers1

0
<frame src="http://<%=Request.Querystring("openurl")%>" name="mainFrame">

Note that if you're using an absolute url as an src value you need to enter the http:// bit. You can either do it the way I have or you can include it in your querystring value.

John
  • 4,658
  • 2
  • 14
  • 23