Statistik |
Beiträge: 144.530 (Täglich: 19,19 )
Themen: 16.700
Mitglieder: 13.209
Neuestes Mitglied: zitronentee.
Ausl. d. letzten Minute: 131%
Ausl. d. letzten 5 Minuten: 143%
Ausl. d. letzten 15 Minuten: 168%
Aktulle Uhrzeit: 09:34
Freier Webspace: 4.02 TB
PHP-Version: 7.4.33
|
|
|
|
|
registers_global |
|
Zu dem Thema konnt ich hier noch nichts finden
Kleines Problem das Viktor sicher "schnell" beheben kann:
Wenn ich in der php.ini registers_global=OFF angebe, lassen sich im ACP die Karten nicht mehr bearbeiten ("Landkarte bearbeiten"), dort werden keine Daten mehr angezeigt.
Alles andere scheint noch zu funktionieren, zumindest ist mir noch nichts anders aufgefallen
|
|
28.07.2005 10:35 |
|
|
Viktor
Administrator
Zeige Viktor auf Karte
Dabei seit: 15.08.2003
Beiträge: 31.570
363 Filebase-Einträge
Alter: 66 Jahre
Herkunft: NRW wBB-Version: wBB2.3 PHP-Version: 7.4.33 MySQL-Version: 10.5.19-MariaDB Wo bist du gehostet?: eigener Server
Bewertung:
Level: 71 [?]
Erfahrungspunkte: 237.742.202
Nächster Level: 266.777.854
|
|
|
28.07.2005 11:02 |
|
|
|
|
Zitat: Original von knuddelchen27
huhu
warum willst denn unbedingt off nehmen? nur interesse halber
|
|
|
Gegenfrage warum ON lassen und eine Angriffsmöglichkeit offen lassen
Außerdem wird die Funktion (registers_global) in den nächsten php Versionen eh rausgenommen und somit ist "sauberes Programieren" Pflicht
|
Zitat: ; - register_globals = Off [Security, Performance]
; Global variables are no longer registered for input data (POST, GET, cookies,
; environment and other server variables). Instead of using $foo, you must use
; you can use $_REQUEST["foo"] (includes any variable that arrives through the
; request, namely, POST, GET and cookie variables), or use one of the specific
; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
; on where the input originates. Also, you can look at the
; import_request_variables() function.
; Note that register_globals is going to be depracated (i.e., turned off by
; default) in the next version of PHP, because it often leads to security bugs.
; Read http://php.net/manual/en/security.registerglobals.php for further
; information. |
|
|
|
|
28.07.2005 11:02 |
|
|
|
|
Zitat: Original von Viktor
Hallo,
ich habe es mal gerade local getestet und alles klappt.
Was klappt denn bei Dir nicht.
|
|
|
hmmm ... komisch ......
ACP -- > Landkarten bearbeiten -- > Landkarte bearbeiten -- >
Dateianhang: |
Fehler3.jpg (193 KB, 71 mal heruntergeladen)
|
|
|
28.07.2005 11:06 |
|
|
|
|
Zitat: Original von Viktor
welche PHP Version und welche User-Map Version hast du.
|
|
|
Sorry, bin hier eh ins falsche Unterforum gerutscht
WBB 2.3.2 (noch
)
PHP 4.4.0
Usermap für die 2.3, die aktuelle aus der DB hier.
|
|
28.07.2005 11:11 |
|
|
|
|
Zitat: Original von knuddelchen27
|
Zitat: Außerdem wird die Funktion (registers_global) in den nächsten php Versionen eh rausgenommen und somit ist "sauberes Programieren" Pflicht |
|
|
huhu
hm dann verstehe ich aber nicht wieso ich unter php 5.0.4 auch noch zwischen reigster_globals = off / on wählen kann wenns angeblich rausfliegen sollte
kannst mir nen link geben wo das steht? |
|
|
Einen Link gibt es nicht wirklich, das steht in der php.ini
Hier ein längerer Auszug:
|
|
|
|
Zitat: ;;;;;;;;;;;;;;;;;;;
; About this file ;
;;;;;;;;;;;;;;;;;;;
;
; This is the recommended, PHP 4-style version of the php.ini-dist file. It
; sets some non standard settings, that make PHP more efficient, more secure,
; and encourage cleaner coding.
; The price is that with these settings, PHP may be incompatible with some
; applications, and sometimes, more difficult to develop with. Using this
; file is warmly recommended for production sites. As all of the changes from
; the standard settings are thoroughly documented, you can go over each one,
; and decide whether you want to use it or not.
;
; For general information about the php.ini file, please consult the php.ini-dist
; file, included in your PHP distribution.
;
; This file is different from the php.ini-dist file in the fact that it features
; different values for several directives, in order to improve performance, while
; possibly breaking compatibility with the standard out-of-the-box behavior of
; PHP 3. Please make sure you read what's different, and modify your scripts
; accordingly, if you decide to use this file instead.
;
; - register_globals = Off [Security, Performance]
; Global variables are no longer registered for input data (POST, GET, cookies,
; environment and other server variables). Instead of using $foo, you must use
; you can use $_REQUEST["foo"] (includes any variable that arrives through the
; request, namely, POST, GET and cookie variables), or use one of the specific
; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
; on where the input originates. Also, you can look at the
; import_request_variables() function.
; Note that register_globals is going to be depracated (i.e., turned off by
; default) in the next version of PHP, because it often leads to security bugs.
; Read http://php.net/manual/en/security.registerglobals.php for further
; information.
; - display_errors = Off [Security]
; With this directive set to off, errors that occur during the execution of
; scripts will no longer be displayed as a part of the script output, and thus,
; will no longer be exposed to remote users. With some errors, the error message
; content may expose information about your script, web server, or database
; server that may be exploitable for hacking. Production sites should have this
; directive set to off.
; - log_errors = On [Security]
.
.
.
.
|
|
|
|
|
|
|
|
28.07.2005 11:14 |
|
|
Viktor
Administrator
Zeige Viktor auf Karte
Dabei seit: 15.08.2003
Beiträge: 31.570
363 Filebase-Einträge
Alter: 66 Jahre
Herkunft: NRW wBB-Version: wBB2.3 PHP-Version: 7.4.33 MySQL-Version: 10.5.19-MariaDB Wo bist du gehostet?: eigener Server
Bewertung:
Level: 71 [?]
Erfahrungspunkte: 237.742.202
Nächster Level: 266.777.854
|
|
|
28.07.2005 11:40 |
|
|
|
|
Zitat: Original von Viktor
jo da ist ein Fehler drin.
Muss ich mal schauen wie ich den beseitige.
|
|
|
Macht ja nix, ich geb Fehler gerne weiter wenn ich sie nicht selbst gemacht habe
|
|
28.07.2005 11:59 |
|
|
Viktor
Administrator
Zeige Viktor auf Karte
Dabei seit: 15.08.2003
Beiträge: 31.570
363 Filebase-Einträge
Alter: 66 Jahre
Herkunft: NRW wBB-Version: wBB2.3 PHP-Version: 7.4.33 MySQL-Version: 10.5.19-MariaDB Wo bist du gehostet?: eigener Server
Bewertung:
Level: 71 [?]
Erfahrungspunkte: 237.742.202
Nächster Level: 266.777.854
|
|
|
28.07.2005 13:23 |
|
|
|
|
Zitat: Original von Viktor
jo Fehler gefunden und in der Version V2.2 beseitigt.
|
|
|
So haben wir aber nicht gewettet
Hätte ja auch ein fix für V2.1 gereicht
Gruß
Tatzel
|
|
28.07.2005 13:56 |
|
|
Viktor
Administrator
Zeige Viktor auf Karte
Dabei seit: 15.08.2003
Beiträge: 31.570
363 Filebase-Einträge
Alter: 66 Jahre
Herkunft: NRW wBB-Version: wBB2.3 PHP-Version: 7.4.33 MySQL-Version: 10.5.19-MariaDB Wo bist du gehostet?: eigener Server
Bewertung:
Level: 71 [?]
Erfahrungspunkte: 237.742.202
Nächster Level: 266.777.854
|
|
|
28.07.2005 15:27 |
|
|
|
|
Zitat: Original von Viktor
Hallo,
jo bekommst du doch.
Es sind aber noch mehr Fehler drin aber da du kein PHP5 hast merkst du sie nicht.
Tausche die Datei im Anhang mal aus.
Bitte berichten ob jetzt alles klappt.
Gruß
Viktor
|
|
|
Wusste ich doch
jetzt klappt es, gut gemacht
Danke
Mit ausbügeln der anderen "Fehler" warte ich gerne bis zur Veröffentlichung der V2.2
|
|
28.07.2005 15:55 |
|
|
|
|
|
|