Welcome to Geeklog, Anonymous Tuesday, December 24 2024 @ 11:32 pm EST

News

Fix for broken polls on Mac OS X 10.2

  • Sunday, October 13 2002 @ 02:15 am EDT
  • Contributed by: Anonymous
  • Views: 5,668
Geeklog.net Polls do not work correctly for virtual sites on Mac OS X 10.2 from a regular install of GeekLog, the only flaw I have yet detected.

Mac OS X sets the environment variable REMOTE_ADDR to the IP of the server, not the remote user! Thus all votes appear to come from the same IP number.

As polls are restricted to one vote per IP number, only one vote can be cast for the entire site.

A quick fix is to put the following line at the beginning
of lib-common.php
$REMOTE_ADDR=$HTTP_PC_REMOTE_ADDR;

which will set REMOTE_ADDR to the correct remote address.

International Reach of Geeklog

  • Sunday, October 06 2002 @ 09:51 am EDT
  • Contributed by:
  • Views: 5,170
Announcements Last week I released my menu plug-in and was amazed at the wide reception it received. Particularly, the international interest. Let me give you some figures to let you know what I mean. The day before I released my plug-in my site received 9 unigue visitors, the day I released the plug-in my site received 189 unique visitors (thats 6956 hits). The second day 138 visitors. The third day 66. The fourth day 31. A normal interest spike.

What I found unusual was the Geographic distribution. I had visitors from at least 30, perhaps as many as 35, different countries (over 10% of ips won\'t resolve). Besides the United States, the top countries were Canada 5%, Netherlands 3%, Denmark 3%, United Kingdom 2%, Germany 2% and Australia 2%.

I exchanged email with people who had websites in Poland, Germany, Australia, Russia, Canada, Belgium and Indonesia. Rather Amazing I thought.

Tom

Page navigation