java script assistance
I need some help on expanding a java script.
The current script ip displays in title bar is:
var ip = 'logged for Security'
window.defaultStatus = "Your IP address is "+ip;
How can I make this the ip of the requestor and write it to a text file?
Does your host have PHP support? PHP is a server side language, when a page is requested, the PHP code is executed on the webserver.
Yes it does support php.
I know little of java script and nothing of php. I don't want to be a programmer or web designer, just want a way of tracking web access users by ip with a time/data stamp redirected to a txt file so if I were to change hosting services I don't loose the data.
Source of all evil ? So would that include CF as well :D
So any script solutions in php?
it seems like your trying to reproduce the apache access logs? They have all the information like IP, Date/Time, Page etc etc
Cant your host just supply the access logs to you?
Yes they could but if they were to go under (One man show) and I don't have direct access to the dir with the secure.log file. I can only get to see its content via a admin console which isn't setup for me to cut and paste the data out of it.
So does anyone have a site(s) with free php script for ip type functions ?