Redirect after PHP Login

后端 未结 3 1429
我在风中等你
我在风中等你 2020-12-21 16:13

I have a subdomain

accounts.mysite.com

What i want is one login panel for that subdomain, then after a user logs in it directs them to their own page (and

3条回答
  •  长情又很酷
    2020-12-21 17:07

    1. you need to get rid of your current PHP book and find yourself a modern one, at least published in the current century.
    2. Then rewrite your session code according to manual
    3. then use session_set_cookie_params() to set up a session domain.

提交回复
热议问题