Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Wil] Remote Host for Administrator

Quote Reply
Re: [Wil] Remote Host for Administrator In reply to
In Reply To:
You just need to change the ENV REMOTE_IP to REMOTE_ADDR if this is supported on the server.
It's not as simple as that, because the IP addresses of the users that are currently online are stored in a table, and read from that table to be displayed on the who's online page.

I think it would not be a good idea to also save the REMOTE_ADDR in the table, that would require adding a new field, plus writing a plugin to actually save the REMOTE_ADDR in the table. Plus, it would slow the forum down, because the lookup would have to be done all the time.

My solution does not require all that overhead, it is just a way to see which REMOTE_ADDR corresponds ot which IP, and only when it is needed, namely when I as an administrator view the who's online page.

In Reply To:
I think the reason for not doing this is banning people with their host name is completly stupid, and host name lookups take time, and not all web servers are set up to translate IP addresses.
It has never been my intention to ban by REMOTE_ADDR, and I agree with you that this would be stupid.


Ivan
-----
Iyengar Yoga Resources / GT Plugins
Subject Author Views Date
Thread Remote Host for Administrator yogi 2438 Dec 3, 2001, 5:55 AM
Thread Re: [yogi] Remote Host for Administrator
yogi 2356 Dec 4, 2001, 1:17 AM
Thread Re: [yogi] Remote Host for Administrator
Wil 2337 Dec 4, 2001, 1:48 AM
Thread Re: [Wil] Remote Host for Administrator
yogi 2336 Dec 4, 2001, 2:00 AM
Thread Re: [yogi] Remote Host for Administrator
Wil 2331 Dec 4, 2001, 2:04 AM
Thread Re: [Wil] Remote Host for Administrator
yogi 2349 Dec 4, 2001, 2:14 AM
Thread Re: [yogi] Remote Host for Administrator
Wil 2329 Dec 4, 2001, 2:21 AM
Post Re: [Wil] Remote Host for Administrator
yogi 2327 Dec 4, 2001, 2:35 AM