Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

cusinndZL How to Make an IP Logging PHP Script

Loading...

Sign in or sign up now!
650 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 11, 2010

Blog post/ code for tutorial: http://zlstudios.net/blog/?p=94

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (cusinndzl)

  • Your Blog is what you used to log the ip address isn't it asshole -_-

  • @mrwoodie129 I don't do that. But the Apache server logs any errors with the IP address of the visitor. And Google Analytics will gather general information about my visitors.

  • Its not working for me

    Warning: fopen(iplog.txt) [function.fopen]: failed to open stream: Permission denied in /home2/sk1d/public_html/IP/ind­ex.php on line 4

    Warning: fwrite(): supplied argument is not a valid stream resource in /home2/sk1d/public_html/IP/ind­ex.php on line 5

    Warning: fclose(): supplied argument is not a valid stream resource in /home2/sk1d/public_html/IP/ind­ex.php on line 6

  • @Toxicisleet Make all the files writable.

  • Holy crap this is useful as hell. Tyvm, however I would like to compress this php into a jpeg document and upload it to a site, will it still log the ip into the text file even when compressed?

  • @WhitewolfX01 It should work.

Video Responses

This video is a response to Screencast!
see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • @cusinndzl Well aight then, sorry for calling you an asshole ahaha

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more