使用iframe登录网站


logging into website using iframe

我想在iframe中显示受远程站点密码保护的内容。我希望iframe自动登录并显示内容。请指导我如何在"iframe-src"中传递用户/密码

<iframe src="www.mysite.com" style="height: 500px; width:500px" frameborder="0";></iframe>

你不能!大多数网站使用POST方法登录表单,然后您就不能登录到这些网站。当然,如果网站使用Get方法登录,您可以将登录url参数设置为www.mysite.com?username=myuser&password=mypass