I'm experienced php and javascript developer, so i can easily help you achieve this. The IP logging will have to store the addresses somewhere - either simple text file, or database (JS will call PHP script with IP as param, and the PHP script will save it on server - this also require writing permissions and or access to some database). If possible i would like to know what's the purpose of the script before the project begins, thanks.