【发布时间】:2022-01-24 04:45:04
【问题描述】:
我已尝试使用以下代码将 iframe 页面加载到我的视图文件中,但无法获得响应。
<section class="slice color-three pb-4">
<div class="w-section inverse p-0">
<div class="card col-md-12 pb-4">
<iframe id="sms_service" src="https://username:password@abc.com/send_sms?account=123456789" height="450" width="100%"></iframe>
</div>
</div>
</section>
如果我在浏览器中运行直接 URL,则获取 iframe 页面。
所以我可以使用该 iframe URL 传递用户名、密码。
【问题讨论】:
标签: php codeigniter-3