PHP header(Location: …): Force URL change in address bar

后端 未结 14 1566
失恋的感觉
失恋的感觉 2020-11-28 08:10

I\'m currently working on a mobile site with authentication using PHP sessions with a database. I have a login page with a form that goes to server_login.php

相关标签:
14条回答
  • 2020-11-28 08:36

    use

    header("Location: index.php"); //this work in my site

    read more on header() at php documentation.

    0 讨论(0)
  • 2020-11-28 08:39

    In your form element add data-ajax="false". I had the same problem using jquery mobile.

    0 讨论(0)
提交回复
热议问题