Hallo Jürgen, On Sunday 15 August 2004 17:59, Jürgen Hochwald wrote:
Ich bin jedoch völlig im unklaren, ob es an dem Menüscript ansich, Apache2, PHP4 oder irgendein Installationsfehler ist.
Das ist eine Mischung aus liegt am Skript und liegt an PHP4.
In Deiner php.ini steht register_globals mit Sicherheit auf "off":
; Whether or not to register the EGPCS variables as global variables. You may
; want to turn this off if you don't want to clutter your scripts' global scope
; with user data. This makes most sense when coupled with track_vars - in which
; case you can access all of the GPC variables through the $HTTP_*_VARS[],
; variables.
;
; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
register_globals = Off
Bei dem von Dir verwendeten Menü Skript wird eine Variable ($oeffne) als GET Parameter übergeben wenn register_globals aber ausgeschaltet ist, muss die Variable im Skript anders angesprochen werden:
$_GET['oeffne']
Liebe Grüße,
Andreas
P. s. : Eigentlich war das eine reine PHP Frage bei deren Lösung ein Blick in die deutsche PHP FAQ [1] geholfen hätte ;-)
[1]: http://dclp-faq.de/q/q-formular-register-globals.html
--
Andreas Otto