Counterglow Forums  

Go Back   Counterglow Forums > General Discussions > Technoglow

Reply
 
Thread Tools Display Modes
Old 23-02-2005, 13:56:22   #1
Nav
Never gonna be as ugly as Lurker
 
Nav's Avatar
 
Join Date: Nov 2001
Location: Everywhere...
A little php script I wrote

PHP Code:
if (strpos($_SERVER['HTTP_REFERER'],'brawl-hall.com')) {
    
$result=$DB_site->query_first("SELECT value FROM setting WHERE settingid=***");
    if (
strpos($result['value'], $_SERVER['REMOTE_ADDR'])) {
        
$message "This address is already in the IP Block List";
    } else {
        
$result['value'].=' '.$_SERVER['REMOTE_ADDR'];
        
$DB_site->query("UPDATE setting SET value='".$result['value']."' WHERE settingid=***");
        
$message "This address has been added to the IP Block List";
    }

Worked better than expected.
Nav is offline   Reply With Quote
Old 23-02-2005, 13:57:58   #2
Funkodrom
Die Müfzwerge
 
Funkodrom's Avatar
 
Join Date: Nov 2001
Location: Drowning in a sea of retarded sexuality and bad poetry


So miester g linked back to CG from brawl-hall and it banned him?
__________________
protein: Bryan Adams rocks
Blog - Band Müf Gigs 5th March BerkshireLive Aid
Funkodrom is offline   Reply With Quote
Old 23-02-2005, 13:58:14   #3
zmama
Counterglow CEO
 
zmama's Avatar
 
Join Date: Apr 2002
Location: South of Laboratory


byebye mrg
__________________


The cats nestle close to their kittens now.
The lambs have laid down with the sheep.
You're cozy and warm in your bed, my dear
Please go the fuck to sleep.
zmama is offline   Reply With Quote
Old 23-02-2005, 14:00:09   #4
Nav
Never gonna be as ugly as Lurker
 
Nav's Avatar
 
Join Date: Nov 2001
Location: Everywhere...
yep.
Nav is offline   Reply With Quote
Old 23-02-2005, 14:03:41   #5
Funkodrom
Die Müfzwerge
 
Funkodrom's Avatar
 
Join Date: Nov 2001
Location: Drowning in a sea of retarded sexuality and bad poetry
Have you taken the script out now?
__________________
protein: Bryan Adams rocks
Blog - Band Müf Gigs 5th March BerkshireLive Aid
Funkodrom is offline   Reply With Quote
Old 23-02-2005, 14:05:34   #6
Nav
Never gonna be as ugly as Lurker
 
Nav's Avatar
 
Join Date: Nov 2001
Location: Everywhere...
yes, it still logs but isn't auto-blocking.
Nav is offline   Reply With Quote
Old 23-02-2005, 14:09:25   #7
Gary
Putting you lot right since 2001
 
Gary's Avatar
 
Join Date: Nov 2001
Location: Home
Brilliant
__________________
Aleph-null bottles of beer on the wall,
Aleph-null bottles of beer,
You take one down, and pass it around,
Aleph-null bottles of beer on the wall.
Gary is offline   Reply With Quote
Old 23-02-2005, 14:15:32   #8
miester gandertak
Dutjjjschm Jschmunior
 
miester gandertak's Avatar
 
Join Date: Apr 2004
Location: dooooo di dooooo

that will teach him
__________________
piesendrolenzeikenstinkenpoepaanjeholenstink
miester gandertak is offline   Reply With Quote
Old 23-02-2005, 15:24:47   #9
HelloKitty
Hate shaped like a woman
 
HelloKitty's Avatar
 
Join Date: Mar 2002
Location: The dollhouse.
Can you do the same thing with that incredibly nerdy civ site?
__________________
I'm really enjoying the dutch gift now.

HelloKitty is offline   Reply With Quote
Old 23-02-2005, 17:11:48   #10
Drekkus
The Happy Little Pee Guy
 
Drekkus's Avatar
 
Join Date: Mar 2002
Location: They think I'm crazy. They don't know that I like it here, it's nice in here. Reputation: -984653893929276
You djenius, nav.
__________________
There's no such thing as a mistake, just happy accidents.

Spoon, it's not a swear word.

1st CG Hardcore Belt Royal Rumble Winner
Drekkus is offline   Reply With Quote
Old 23-02-2005, 17:13:12   #11
MDA
Registered User
 
MDA's Avatar
 
Join Date: Nov 2001
Location: updated his email address and can look but not post


Here's a little script I wrote,
you might want to sell that fucking goat,
Don't worry,
Be happy!

Last edited by MDA; 23-02-2005 at 19:06:31.
MDA is offline   Reply With Quote
Old 23-02-2005, 19:15:51   #12
Qaj the Fuzzy Love Worm
Not National Zombie Awareness Month
 
Qaj the Fuzzy Love Worm's Avatar
 
Join Date: Jan 2002
Location: Gnawing at your brain
Bastard. Now I've gone and got that song stuck in my head.
__________________
Not annoying anyone with my signature since 2011!
Qaj the Fuzzy Love Worm is offline   Reply With Quote
Reply
Forum Jump

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 15:42:18.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© Counterglow 2001-2012. All rights reserved.