Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

on Nginx web server, $_SERVER['PHP_SELF'] is empty, Please check. #1253

Open
chonghai opened this issue Nov 17, 2024 · 0 comments
Open

on Nginx web server, $_SERVER['PHP_SELF'] is empty, Please check. #1253

chonghai opened this issue Nov 17, 2024 · 0 comments

Comments

@chonghai
Copy link

My web server: nginx 1.24;
PHP : 8.3
And I Check $_SERVER['PHP_SELF'] is EMPTY!
so when i login , it will be redirected to the website home.

I change "$_SERVER['PHP_SELF'] " to "$_SERVER['SCRIPT_NAME']", and it runs OK.

That's it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant