dongre6404 2009-07-14 15:54
浏览 1795
已采纳

通过php打开一个新的html页面

I want my php to open a new html page.

I have a html page, where a member can login by typing her username and password and then click on button.

if the username password is correct, i want my php to open a different html page in the same window.

how can i do this??

Zeeshan

  • 写回答

3条回答 默认 最新

  • dousi8931 2009-07-14 16:02
    关注

    Or, the 'techless' solution:

    <html>
    <head>
        <title>Redirecting...</title>
        <meta http-equiv="refresh" content="0;URL=newpage.php">
    </head>
    <body>
        You are being automatically redirected to a new location.<br />
        If your browser does not redirect you in few seconds, or you do
        not wish to wait, <a href="newpage.php">click here</a>. 
    </body>
    </html>
    

    See Here.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题