Richard Lynch wrote:
On Mon, May 1, 2006 7:13 am, Ryan A wrote:
...
You *CANNOT* assume IP address has *ANYTHING* to do with what user is
there!
IP address is USELESS for identification/authentication of users in an
HTTP environment.
with one caveat (I standing by to be shot down ;-):
wh
On Mon, May 1, 2006 7:13 am, Ryan A wrote:
> basically, I get the username and ip of a person who
> logs into a remote site and i have to save this data
> (please note that this would be thousands of logins)
> so I was wondering if it would be better to save the
> username and ip as an empty file w
--- Peter Lauri <[EMAIL PROTECTED]> wrote:
> This is what databases are made for, so my
> suggestion is to use the
> database. And when you say: "please note that this
> would be thousands of
> logins", is that per second or minute or hour or
> day?
>
> /Peter
Hey,
Ok, thats two points for the
> Also, try using mysql_pconnect rather than
> mysql_connect to set up a
> persistent database connection.
>From what I have read and asked around, persistant
connections are more of a pain in the @ss than a
help...esp in a shared hosting environment.
Thanks for responding though!
--
-
This is what databases are made for, so my suggestion is to use the
database. And when you say: "please note that this would be thousands of
logins", is that per second or minute or hour or day?
/Peter
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 7
Also, try using mysql_pconnect rather than mysql_connect to set up a
persistent database connection.
On 01/05/06, Wolf <[EMAIL PROTECTED]> wrote:
Personally I would do the DB option and timestamp that sucker as well.
I use it to set/copy :IP, user, SessionID, timestamp. I found it
simpler and
Personally I would do the DB option and timestamp that sucker as well.
I use it to set/copy :IP, user, SessionID, timestamp. I found it
simpler and easier as I was already using the database anyways, so
another call to it was not going to kill me. And with having the
timestamp in the field as wel
7 matches
Mail list logo