How about using the RequestHandler's function for getting the ip(the name i
forgot was some thing like getClientIP i guess). should deal with most of
the situations.
On Wed, Jan 7, 2009 at 10:21 AM, Bernardo Vieira wrote:
>
> In that case you want the router's ip, not the server's private ip
> be
In that case you want the router's ip, not the server's private ip
behind the router, and this is exactly what $_SERVER['REMOTE_ADDR']
yields. You'll also have to set up some portfowarding on the target
router to give you access to whatever port/protocol you want to use for
your remote access.
The deal is not that i want to get an anonymous users IP,
instead, i have several servers that i want to keep them accessable
all the time.
some of them are behind NAT, or proxy.
if only one server have static publich IP, i can use it to collect
real-time information about the other server and ho
And some people use privacy software to block their IP, in which case
REMOTE_ADDR shows up blank. If I use it in an application, I also make
sure it is not a required piece of information.
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Well, since I'm not sure what you want the IP address for, I'm not
sure I can answer your question, but ...
In order to get the client IP address, you have to ask the client for
it (javescript, executable, etc).
That said, the address may be completely useless to you.
Take an example of a NAT n
Webweaves,
thanks for your answer,
is there any ´solution to access back servers behind NATs and proxies?
Aus
On Jan 6, 9:56 pm, Webweave wrote:
> Note that this can be misleading for people using proxy servers, since
> you'll get the IP address of the proxy instead of the actual machine
> in
Note that this can be misleading for people using proxy servers, since
you'll get the IP address of the proxy instead of the actual machine
in most cases. Same is true for NAT based IP addresses, you will
typically get a single IP address for a NAT subnet.
On Jan 6, 11:53 am, Aus wrote:
> Fantas
Fantastic!! works just fine
Cheers mate!
Aus
On Jan 6, 9:10 am, Graham Weldon wrote:
> $_SERVER['REMOTE_ADDR'] should tell you what you need.
>
> Cheers,
> Graham
>
>
>
> Aus wrote:
> > I'm writing an application like no-ip.com , the user will send a _POST
> > message includes the domain name
$_SERVER['REMOTE_ADDR'] should tell you what you need.
Cheers,
Graham
Aus wrote:
> I'm writing an application like no-ip.com , the user will send a _POST
> message includes the domain name to the website, and the website
> should map the domain name in the message with the source IP of the
> me
I'm writing an application like no-ip.com , the user will send a _POST
message includes the domain name to the website, and the website
should map the domain name in the message with the source IP of the
message. and update it in the database.
so when someone have a computer at home with dynamic
10 matches
Mail list logo