which data from $_SERVER is reliable?
Posted: Mon Jun 12, 2006 4:08 am
Ok, I've read a lot of posts/articles discussing that $_SERVER global variable (any variable actually) is not to be trusted or at least some stuff from it (everything that starts with HTTP_ can be spoofed).
So is there a finite list of the indexes we can really rely on. We have to rely on something anyhow.
What about REMOTE_USER, REMOTE_ADDR etc.
Can someone give a list of reliable stuff. Or is this more complicated than I think.
Thank you.
So is there a finite list of the indexes we can really rely on. We have to rely on something anyhow.
What about REMOTE_USER, REMOTE_ADDR etc.
Can someone give a list of reliable stuff. Or is this more complicated than I think.
Thank you.