[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - Wie online via IP-controle
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

Wie online via IP-controle

Je komt er niet helemaal uit bij het scripten? Übergoede functie geschreven? Alles met betrekking tot scripting, kun je hier terecht.

Wie online via IP-controle

Berichtdoor Anonymous » 24 okt 2007 16:04

Weet iemand een script te vinden dat zo werkt:
- Je geeft bij een aantal ip-adressen een naam op
- Als zo'n ip-adres online is wordt in een wie is er online - lijst de bijbehorende naam weergegeven

heb zelf al geprobeerd te zoeken via google maar zonder resultaat.


Martin
Anonymous
 

Re: Wie online via IP-controle

Berichtdoor Douwe 666 » 24 okt 2007 16:24

Misschien heb je hier wat aan: http://www.mastercode.nl/artikel/72/ , je moet het dan wel nog een beetje veranderen, zodat hij doet wat je zelf wilt natuurlijk.

... Klik hier ...
Avatar gebruiker
Douwe 666
wmpr
 
Berichten: 299
Geregistreerd: 27 maart 2007 17:07
Woonplaats: Zeist

Re: Wie online via IP-controle

Berichtdoor Anonymous » 24 okt 2007 16:42

Dat is niet echt wat ik bedoel.

Wat ik bedoel is dat je bepaalde IP-adressen kunt ingeven die gecontroleerd moeten worden.
Die ip-adressen hebben een naam die als een ip-adres gecontroleerd is gevonden kan worden in een lijst.

bijv.
ip xxxx.xxxx.xxxx.xxxx(Jan)
ip xxxx.zzzz.xxxx.zzzz(Piet)
ip zzzz.zzzz.zzzz.zzzz(Klaas)

check: xxxx.xxxx.xxxx.xxxx = Jan
even later
check: zzzz.zzzz.zzzz.zzzz = Klaas

Op dit moment online:
- Jan
- Klaas

maar dan natuurlijk in php code (zonder mysql).
Waar zou ik dat kunnen vinden?
Anonymous
 

Re: Wie online via IP-controle

Berichtdoor Douwe 666 » 24 okt 2007 16:43

Ik was van plan er eentje voor je te maken, maar ik loop toch vast omdat je geen mysql wilt gebruiken, met mysql zijn er op inernet ook genoeg te vinden. bv. . Ik denk dat het toch lastig wordt er eentje te vinden zonder database.

... Klik hier ...
Avatar gebruiker
Douwe 666
wmpr
 
Berichten: 299
Geregistreerd: 27 maart 2007 17:07
Woonplaats: Zeist

Re: Wie online via IP-controle

Berichtdoor Anonymous » 24 okt 2007 17:40

Bedankt voor het proberen :aanbid:

Dan moet ik het maar met mysql gaan proberen,
ik zal vandaag of morgen eens kijken of ik er iets van snap.

Groetjes,
Martin
Anonymous
 

Re: Wie online via IP-controle

Berichtdoor Derk » 26 okt 2007 17:55

Volgens mij wil je dit:

<?php
if ($_SERVER['REMOTE_ADDR']=='212..142.170')
{
echo'Derk is online!<br />';
}
else if ($_SERVER['REMOTE_ADDR']=='77.248..176')
{
echo'Martinez is online!<br />';
}
else if ($_SERVER['REMOTE_ADDR']=='80.126..100')
{
echo'Douwe 666 is online!<br />';
}
?>
Laatst bijgewerkt door Derk op 17 apr 2009 16:11, in totaal 1 keer bewerkt.
Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten

Re: Wie online via IP-controle

Berichtdoor Douwe 666 » 26 okt 2007 21:56

Dat dacht ik eerst ook, maar dan krijg je alleen zelf te zien dat je online bent, en anderen zien het niet :o

... Klik hier ...
Avatar gebruiker
Douwe 666
wmpr
 
Berichten: 299
Geregistreerd: 27 maart 2007 17:07
Woonplaats: Zeist

Re: Wie online via IP-controle

Berichtdoor Derk » 28 okt 2007 11:39

Afbeelding
Avatar gebruiker
Derk
Beheerder
Beheerder
 
Berichten: 12634
Geregistreerd: 27 nov 2003 19:50
Woonplaats: Houten


Keer terug naar PHP, ASP, SQL



cron