Hi,
After change in ip address of our webserver some php scripts are giving old ip address as output.
so I did a "grep" on old ip and replaced it with new one.
Then discovered that $HTTP_HOST gives old ip address and so replaced $HTTP_HOST by $SERVER['HTTP_HOST'] in all scripts.
Still the problem persists.
what are the variables apart from the following which hold server ip address?
$SERVER['SERVER_ADDR']
$SERVER_ADDR
$HTTP_SERVER_VARS['SERVER_ADDR']
What could be the problem?
Please help,
regards,
Mukta