PuneethReddyHC / online-shopping-system

demo
https://youtu.be/gLwfj67GI8A
Apache License 2.0
329 stars 201 forks source link

admin login #4

Open akanksha180898 opened 5 years ago

akanksha180898 commented 5 years ago

from where admin will login ??????????

PuneethReddyHC commented 5 years ago

From same login page I have written a logic to redirect between admin and customer page. You search for the admin password from MySQL database and login

On Sun, May 19, 2019, 8:52 AM akanksha180898 notifications@github.com wrote:

from where admin will login ??????????

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PuneethReddyHC/online-shopping-system/issues/4?email_source=notifications&email_token=AICWMPEOAY6HCJ3MHMLWQETPWDBWVA5CNFSM4HN3RR2KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUR74VA, or mute the thread https://github.com/notifications/unsubscribe-auth/AICWMPGPCY3IVDWIK72Y36LPWDBWVANCNFSM4HN3RR2A .

akanksha180898 commented 5 years ago

adminlogin2 error=Please register first

PuneethReddyHC commented 5 years ago

I will check and notify you as soon as possible.

On Sun, May 19, 2019, 8:13 PM akanksha180898 notifications@github.com wrote:

[image: adminlogin2] https://user-images.githubusercontent.com/50691341/57983678-7936b680-7a72-11e9-82fb-b2a644c7f463.png error=Please register first

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PuneethReddyHC/online-shopping-system/issues/4?email_source=notifications&email_token=AICWMPE4FRZ7WOQWIN4I4ADPWFRQFA5CNFSM4HN3RR2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVXDUEQ#issuecomment-493763090, or mute the thread https://github.com/notifications/unsubscribe-auth/AICWMPANBNPODZCB6B2XG33PWFRQFANCNFSM4HN3RR2A .

Amankhalid-git commented 4 years ago

12

go to login.php file at line 86 and rewrite the code.( echo "";) actually we are setting the wrong directory (admin/addproduct.php) correct one is (admin/add_product.php) .