|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Loggin IP Addresses
I have been trying to find the solution to my problem but have not found where to start. My problem is I need to log the current visitors visit to the home page, including time/date stamp and their IP address. The logging needs to be done to a text file on the server.
I have no idea where to start and although my knowledge of PHP is VERY limited i know that once I have a starting point I will be able customize the code to my needs. Liaaam |
|
#2
|
|||
|
|||
|
RE: Loggin IP Addresses
well i spose the best solution would be to RTFM!
you can download the manual from www.php.net which will have all the required info. To write to a text file, you use fread, fopen fputs..look up those, for IP you use the variable $REMOTE_ADDR... hope that was substantial pointing |
|
#3
|
|||
|
|||
|
RE: Loggin IP Addresses
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Loggin IP Addresses |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|