env variables

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
caadtech
Forum Newbie
Posts: 1
Joined: Thu Sep 11, 2003 10:14 am

env variables

Post by caadtech »

My server instead of listing my domain name in the _ENV["HOST"] variable lists some other name in phpinfo page. What could be the reason?
how this could be corrected?

Any help will be greatly appreciated....

Thanks in advance.
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Your php.ini is set with register_globals = Off, as opposite to register_globals = On.

Try reading this post regarding the subject.
viewtopic.php?t=511
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Moved to PHP - Normal - this is not an Advanced Theory and Design question.

Mac
Post Reply