php, mysql is working. phpinfo() is showing that's ok. But if i try use getenv("some server variable"), i get nothing!
What can be happened?
With best regards.
RonPK
8:58 pm on Nov 8, 2003 (gmt 0)
Hi and welcome to WebmasterWorld.
Not all server variables exist on every server or under all circumstances. Which one are you looking for, and exactly what code are you using?
flashzeus
7:44 am on Nov 9, 2003 (gmt 0)
Neither in my situation.
Two days before getenv is worked! On next day after it i can reach no one server variable. I tried do it by getting _SERVER variable, but i get nothing too...
I do not know what can be.
With ebst regards.
jatar_k
6:03 pm on Nov 10, 2003 (gmt 0)
Welcome to WebmasterWorld flashzeus,
have you tried something like
print_r($_SERVER);
to dump the contents of the array? What version of php are you using?