Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Redirect to different pages after login

New Here ,
Dec 10, 2011 Dec 10, 2011

I use the default login system from Dreamweaver for PHP using a MySQL table

In the table, there is a field named "url" that stores the url where the user must go after login. But I can not grab it and put it at $ MM_redirectLoginSuccess ="

TOPICS
Server side applications
548
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 15, 2011 Dec 15, 2011
LATEST

Change this -

    header("Location: " . $MM_redirectLoginSuccess );

to this -

    header("Location: http://www.example.com/" . $row_rsWhatever['url'] );

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines