iframe中的页面获取主页面地址栏信息,加一条SQL语句的写法!(本人分数不多望高手见谅)
我不想用在iframe中进行加参数!
index.asp中有这段代码
<iframe id='UserLogin' src='/UserLogin.asp' width='432' height='26' frameborder='0' scrolling='no'></iframe>
在userlogin.asp中进行获取
ComeUrl=LCase(Request.ServerVariables("HTTP_REFERER")) '获取当前页面URL 这个只是获取到userlign.asp的URL,我想获取到index.asp的URL 并且不想使用参数传输。
------------------------------------------------------------------------------------------
公司名(comp_name) 注册日期reg_date 找出前50个公司名不能同名并按照日期降序排序。
这段sql语句要怎么写?