Answer the question
In order to leave comments, you need to log in
How to prohibit jumping to a file through the index line?
There are 2 files: admin.php and login.php
1 - admin panel, 2 - entrance to it. If the login is successful, you are redirected to admin.php
How can I make it so that I can't go through the address bar to the admin.php file?
Answer the question
In order to leave comments, you need to log in
Check in admin.php for user authorization, and if it is absent, redirect it to login.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question