|
-
Sep 26th, 2005, 07:29 AM
#1
Thread Starter
Frenzied Member
php code to grab an IP
there are a couple of users who keep posting stupid stuff in my site and i just have to keep deleting the posts. is there any way i can detect their ip so i can deny it from the control panel?
-
Sep 26th, 2005, 11:07 AM
#2
Lively Member
Re: php code to grab an IP
You can get the IP with 'REMOTE_ADDR', take a look at the Predefined Variables
But, that's an unreliable way to do it, as their IP isn't going to be the same each time. You should have something set up to manage your users, where it allows you not allow those certian users to post.
Good luck;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|