Posted by Zeppelin on 12/28/05 11:14
> There is usually more than one way to skin a cat. If you give us some
> details on what the code does, we might be able to suggest an
> alternative--and perhaps superior--solution.
Ok, really simple:
detect user's real ip
load users ip table (this is my shared variable)
send 60 equispaced items of the table to user (as body of http
response)
rotate ip's, loosing first item and adding the detected ip at the end
end
I suppose it would be more effective if we used a dedicated mini-server
for this simple script or write it in another language (bash?) and
redirect the requests of this service with apache to it. But I thought
it would be simplier using php.
Navigation:
[Reply to this message]
|