IP- und Reloadsperre

Vorteile:

1. benötigt kein MySQL, denn es basiert auf Textdateien
2. absolut flexibel und in jedem eigenen Script einsetzbar
3. einfach zu integrieren per PHP-Befehl include
4. Schon fertig!

Was macht dieses Script?

1. Das IP- und Reloadsperre Script speichert die IP und die aktuelle Zeit des Benutzers wenn dieses Script aufgerufen wird.
2. Diese Werte werden in der Datei "ipsperre.txt" gespeichert.
3. Damit die Dateigröße von ipsperre.txt nicht zu groß wird, werden IP und Zeit des Benutzers nach bestimmter Zeit (im Script einstellbar) wieder gelöscht.

Wie verwende man dieses Script?

Durch die Variable "$ip_vorhanden". $ip_vorhanden kann die Werte "0" oder "1" annehmen. Dadurch kann in eigenem Script durch eine einfache if-Anweisung abgefragt werden, ob die IP vorhanden ist oder nicht.

Rezensionen

Es sind noch keine Kommentare vorhanden.

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
ANG GES G P
Figuring out where your hits are coming from and which pages are being viewed is not too difficult if you use a good log analyzer like Analog or s ...
ANG GES G P
Smarty is a template engine for PHP. One of the unique aspects about Smarty that sets it apart from other templating solutions is that it compiles ...
ANG GES G P
This tutorial teaches you to initiate user authentication using PHP, and then to authenticate users by matching the value of the global variables ...
ANG GES G P
Stell dir vor, du könntest jede Idee, jede Erinnerung und jeden Moment sofort festhalten - ohne umständliches Tippen! Mit unserer neuen CogniNot ...
ANG GES G P
Ein ausführliches aber trotzdem nicht zu langes Tutorial was Smarty betrifft. Im Tutorial ist folgendes zu finden. * Download * Installation ...
ANG GES G P
This article is about stopping bad robots - specifically, spambots. A "spambot" is a program that visits a website, collects as many email address ...
ANG GES G P
It is a file sharing utility aimed at communities that wish to share files across the Internet and where traditional mechanisms aren't appropriate ...
ANG GES G P
phpftp is a simple Web-based FTP client written in PHP, offering directory navigation and file transfers.
905 x angesehen
0 x gemerkt
Details zur Anzeige
ANG GES G P
Anfrage stellen

Du bist nicht als Benutzer angemeldet. Bitte gebe Deinen Namen und E-Mailadresse an!

Wird geladen... Bitte warte.
Details zur Anbieter