| View previous topic :: View next topic |
| Author |
Message |
salfordscripteR
Joined: 25 Feb 2009 Posts: 5
|
Posted: Wed Feb 25, 2009 11:42 am ip banning system, |
|
|
|
| hi, i was wondering if anyone knew how to write a ip banning system for my php/sql site, but i need to incorperate it with my membership system to help the moderators keep control, any help would be appreciated. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4289 Location: MS
|
|
salfordscripteR
Joined: 25 Feb 2009 Posts: 5
|
Posted: Thu Feb 26, 2009 8:12 am |
|
|
|
| thanks for your quick reply, the problem is, 1- im hosting of my own server and 2 my site is custom made, i customised and merged scripts to build it, i was thinking on a way where i could put a hidden input box on my login page, which would send the ip address to my sql database, any ideas would be great, coz think im going crazy lmao thanks |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4289 Location: MS
|
Posted: Thu Feb 26, 2009 10:32 am |
|
|
|
| Did you look through those sites as some of the code is PHP and would work for you probably with little modifications. |
|
salfordscripteR
Joined: 25 Feb 2009 Posts: 5
|
Posted: Thu Feb 26, 2009 3:26 pm |
|
|
|
| lol yeah mate, ive look thru them, but there not quite what im looking for mate, one of my idea's is to put a hidden feild on my login page with echo $_SERVER["REMOTE_ADDR"]; inside the hidden feild, which i hope would then log the user ip into the sql database with user details, what do you think |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4289 Location: MS
|
|
salfordscripteR
Joined: 25 Feb 2009 Posts: 5
|
Posted: Sun Mar 01, 2009 2:29 am |
|
|
|
hya mate, tryed the links you you sent, not much luck, i learnt somthing new tho............... php and asp. dont gotogether easily, lol never mind il keep luking and lett you know if i come accross anything |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4289 Location: MS
|
Posted: Sun Mar 01, 2009 9:18 am |
|
|
|
I should have mention ASP and PHP don't work together. Sorry about that. Please DO post back if you come up with a nice script that works for you. Always helps others who may be keeping track of this topic.
Sorry I couldn't be much help on what you want to do. Might try posting in the right forum section on the following sites:
WebDeveloper
CodingForums |
|
salfordscripteR
Joined: 25 Feb 2009 Posts: 5
|
Posted: Fri Mar 13, 2009 10:01 am |
|
|
|
hya guys, after a lot of looking around, i couldnt find anything of much use, so i decided to start writing my own ip loging/banning script, so far i have created the loging section, which seems to work well, ive based it on jpmaster77's login system, so the script will need editing for other login systems, but it shouldnt be to hard to accomplish, i will keep you posted on the progress and ill post all the scripts when there finished,
Last edited by salfordscripteR on Sat Mar 14, 2009 2:46 am; edited 1 time in total |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 4289 Location: MS
|
Posted: Fri Mar 13, 2009 5:00 pm |
|
|
|
Thanks for bringing us up to date on this. Know that's more work than you're letting on.  |
|
leahmarie
Joined: 04 Aug 2009 Posts: 60
|
Posted: Sun Nov 08, 2009 9:33 pm |
|
|
|
| Cool scripts. be sure on the look out on your progress. will sure do our part also and study the codes you are referring to. |
|
|