Author |
Message |
keyo
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 14 Jun 2002
Posts: 4
|
Posted:
Fri Jun 14, 2002 11:13 pm (22 years ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
hi
im one of those who paid for an f2s account in order to keep my free one. anyways, i have a phorum (www.irishhiphop.f2s.com/forum) going since last july but for the last few weeks the ip addresses of the users are not showing...
im wondering has anyone else running phorum on an f2s account have the same problem and/or if anyone has any suggestions how to remedy it?
could it be due to a change in the php version used by f2s?
many thanks |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by keyo Find all posts by keyo](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Ben
Senior WebHelper
![Senior WebHelper Senior WebHelper](images/rank_3.gif)
![](http://www.redandwhitekop.net/images/topics/liverbird.gif)
Joined: 08 Jan 2002
Posts: 431
Location: Liverpool - UK
|
Posted:
Fri Jun 14, 2002 11:21 pm (22 years ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Hmm download the env script from this site and run that and see what variable gives the IP. It used to be HTTP_X_FORWARDED_FOR but they may have changed something? |
________________________________ Ben Scott
Red and White Kop |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Ben Find all posts by Ben](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Send email Send email](templates/4WebHelp2/images/lang_english/icon_email.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
Justin
4WebHelp Addict
![4WebHelp Addict 4WebHelp Addict](images/rank_4.gif)
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Fri Jun 14, 2002 11:38 pm (22 years ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
keyo wrote: | hi
im one of those who paid for an f2s account in order to keep my free one. anyways, i have a phorum (www.irishhiphop.f2s.com/forum) going since last july but for the last few weeks the ip addresses of the users are not showing...
im wondering has anyone else running phorum on an f2s account have the same problem and/or if anyone has any suggestions how to remedy it?
could it be due to a change in the php version used by f2s?
many thanks |
Follow Bens advice, also I thought I would point out PHP on that server has been upgraded to 4.1.2 on 16th of May according to our records, at the same time apache was upgraded to 1.3.24 if it's any help........ |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Justin Find all posts by Justin](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Send email Send email](templates/4WebHelp2/images/lang_english/icon_email.gif) |
![](images/spacer.gif) |
keyo
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 14 Jun 2002
Posts: 4
|
Posted:
Sat Jun 15, 2002 12:42 am (22 years ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
thanks for the speedy replies!
ill look into both those suggestions, i cant seem to find the env script in the scripts section,where should i check for that?
thanks! |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by keyo Find all posts by keyo](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Ben
Senior WebHelper
![Senior WebHelper Senior WebHelper](images/rank_3.gif)
![](http://www.redandwhitekop.net/images/topics/liverbird.gif)
Joined: 08 Jan 2002
Posts: 431
Location: Liverpool - UK
|
Posted:
Sat Jun 15, 2002 4:13 pm (22 years ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Hmm doesnt actually seem to be available in the scripts section
Just create a txt file with the following
Quote: | #!/usr/bin/perl
# Print content-type for HTTP/1.0 compatibility
print "Content-type: text/html\n\n";
# Print title and initial heading
print "<Head><Title>Environment</Title></Head>\n";
print "<Body><H1>List of all Environmental Variables</H1><HR>\n";
# Sort and print all environmental variables
foreach $key (sort keys(%ENV)) {print "$key = $ENV{$key}<br>\n";}
# Resolve REMOTE_HOST into name
$ip_address = $ENV{'REMOTE_ADDR'};
@numbers = split(/\./, $ip_address);
$ip_number = pack("C4", @numbers);
($name) = (gethostbyaddr($ip_number, 2))[0];
if (defined $name) {print "<HR>REMOTE_HOST resolves to: $name";}
exit; |
and save it as env.cgi and upload and call it in your browser |
________________________________ Ben Scott
Red and White Kop |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Ben Find all posts by Ben](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Send email Send email](templates/4WebHelp2/images/lang_english/icon_email.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
keyo
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 14 Jun 2002
Posts: 4
|
Posted:
Tue Jun 25, 2002 11:09 am (21 years, 12 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
hi
thanks for the info
i tried out the script, i dont see HTTP_X_FORWARDED_FOR
but i have REMOTE_ADDR = 136.201.27.206
and at the end of the page REMOTE_HOST resolves to: imedia-17.csis.ul.ie
, which is the one i should use?
thanks |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by keyo Find all posts by keyo](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Ben
Senior WebHelper
![Senior WebHelper Senior WebHelper](images/rank_3.gif)
![](http://www.redandwhitekop.net/images/topics/liverbird.gif)
Joined: 08 Jan 2002
Posts: 431
Location: Liverpool - UK
|
Posted:
Tue Jun 25, 2002 4:44 pm (21 years, 12 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Seems they have got rid of the squid caches then....
If you look at your code and find where it logs the IP you should be able to switch it to use remote_host |
________________________________ Ben Scott
Red and White Kop |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Ben Find all posts by Ben](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Send email Send email](templates/4WebHelp2/images/lang_english/icon_email.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) |
![](images/spacer.gif) |
keyo
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 14 Jun 2002
Posts: 4
|
Posted:
Tue Jun 25, 2002 7:24 pm (21 years, 12 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
YES!!
i tried both remote_addr and remote_host, turned out remote_addr was the one that worked, thanks for helping me get this worked out folks!
cheers! |
|
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by keyo Find all posts by keyo](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
|
Page generation time: 0.131304 seconds :: 18 queries executed :: All Times are GMT
Powered by
phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme