You are here: Re: ip address question (trouble with remote_addr) « PHP Programming Language « IT news, forums, messages
Re: ip address question (trouble with remote_addr)

Posted by Erwin Moller on 06/02/06 10:27

ojorus wrote:

> Hi.
> I have a problem when I use the $_SERVER['remote_addr'].
> I'm testing a script, and the strange thing is that remote_addr returns an
> ip-address only sometimes, and not always. Why can that be?
> Are there any other (better) methods of getting the ip-address?
>
> Ojorus

Hi Ojorus,

That is suprising because that IP is used to send the response to.
Can you reproduce the empty $_SERVER['remote_addr'] yourself?

What setup are you using? PHP-version/OS/webserver?

Regards,
Erwin Moller

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация