We help IT Professionals succeed at work.

Where is _$SERVER['LOGIN_URL'] actually defined?

Bruce Gust
Bruce Gust asked
on
I'm working on some code and I'm trying to pop the hood on the login logic.

I'm trying to track down the URL that's actually handling the SELECT that will query the database and I keep seeing this:

$_SERVER['LOGIN_URL']

I see it referenced in the code, but I've yet to locate where it's actually defined.

Having googled it, I get the impression that this is a fairly common piece of syntax.

What is it and were do you find it?
Comment
Watch Question

Most Valuable Expert 2018
Distinguished Expert 2019
Commented:
Hey Bruce,

Usually, the SERVER array is set by the webserver itself (Apache / Nginx), so you may want to look in the config settings for that.

Are you sure it's SERVER and not SESSION?
Bruce GustPHP Developer

Author

Commented:
It is $_SERVER and you're right, it is an Apache setting - something I don't have access to.

But...

I was able to figure things out and the ticket has been solved!

BOOM!

Thanks for your help!