
May 10th, 2000, 09:49 PM
|
|
Junior Member
|
|
Join Date: May 2000
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I'm setting up a system that uses PHP
and MySQL. Whenever a user enters some
data that get stored as a row in the
database, I would like to capture the
IP addr of the user's computer, and put
that in the row, too. Is the IP addr
of the browser set as a PHP variable,
or is there some way to access that in
PHP? This would be valuable for security,
so that, for instance, if a hacker is
launching some attacks from one particular
host, that will be easier to trace.
Thanks.
|