S
S
sHARek2018-04-10 17:10:24
PHP
sHARek, 2018-04-10 17:10:24

Where are the articles about “PHP authorization for the site” 2017/2018?

Good afternoon.
Only old articles from 2011-2013 come across.
Isn't there anything new/corrected/improved?
By the way, if the site has an action.php file that receives parameters from Ajax with index.php, then how to disable this file? Well, if you enter site.ru/action.php in the line, so that you don’t go there, but redirect to the main one, for example ...... it seems like some kind of globe was $_GLO ..... or something like that =)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
sim3x, 2018-04-10
@sim3x

Everyone has been using frameworks for a long time and do not cycle unnecessarily

Y
Yan-s, 2018-04-10
@Yan-s

Use libraries for this (example https://cartalyst.com/manual/sentry/2.1 ) and/or frameworks.
Shouldn't be "action.php" there should be one entry point.

M
Maksim Fedorov, 2018-04-10
@Maksclub

Now it's cool to do it through Middleware (intermediary) - authorization is hung on the necessary urls in one line
. Watch the first 2 parts to understand the third part you need:
https://www.youtube.com/watch?v=VKMQwMyH3mw

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question