This is basic, I'm sure
I want to display the viewers IP on a PHP page, how do I do this?
Tracking user IP address?
Moderator: General Moderators
It only goes to show....
You see, I knew there was a reason I asked you. I know some about a lot, but very little about a lot.
Jokes aside, I'm reading on php.net as you suggested, and I'm learning a lot, slowly.
Its for my index page, so I dont want to use Java in the head (I believe Google likes it better if I dont, I think...)
I have a little script that tells me by email when a page gets hit, or when it has been hit a specified ammount of times (a little like hitslink) I know I can do this inGoogle analytics, but I dont want to wait untill 2morrow. What I want to do is to see who comes on to my site and what pages they view, real time.
How else could I possibly track it?
Jokes aside, I'm reading on php.net as you suggested, and I'm learning a lot, slowly.
Its for my index page, so I dont want to use Java in the head (I believe Google likes it better if I dont, I think...)
I have a little script that tells me by email when a page gets hit, or when it has been hit a specified ammount of times (a little like hitslink) I know I can do this inGoogle analytics, but I dont want to wait untill 2morrow. What I want to do is to see who comes on to my site and what pages they view, real time.
How else could I possibly track it?
OK fine
I knew you were going to swear at me sometime. OK I'll go away and read some more.
I have to admit that I dont know sessions, but I will go and look it up.
Incidently, another thing... Something went seriously wrong with my DB about 2 weeks ago, and I had to change my username and password. I kept exeeding the "MAX_USERS" for my username, and it got so bad that my site couldn't show data at all. I have an enemy who happens to be an IP providor. (Not mine) Can someone like that actually cause something like that if they wanted to? And, if he did, could I find out?
Just wondering
I have to admit that I dont know sessions, but I will go and look it up.
Incidently, another thing... Something went seriously wrong with my DB about 2 weeks ago, and I had to change my username and password. I kept exeeding the "MAX_USERS" for my username, and it got so bad that my site couldn't show data at all. I have an enemy who happens to be an IP providor. (Not mine) Can someone like that actually cause something like that if they wanted to? And, if he did, could I find out?
Just wondering