----- Original Message ----- From: "Heru Martinus Salim" <[EMAIL PROTECTED]>
> Saya pake apache 2, dengan php4. > Ada masalah waktu passing parameter dari form. > Kalo pake method get, keliatan kalau parameter udah berhasil di-pass. > Tapi waktu saya print, isinya kosong. > Skrip itu saya liat dari buku, dan waktu saya pake windows bisa jalan. Kemungkinan besar PHP Anda diset dengan register_globals off Dari PHP Manual http://id.php.net/manual/en/configuration.directives.php register_globals Tells whether or not to register the EGPCS (Environment, GET, POST, Cookie, Server) variables as global variables. For example; if register_globals = on, the URL http://www.example.com/test.php?id=3 will produce $id. Or, $DOCUMENT_ROOT from $_SERVER['DOCUMENT_ROOT']. You may want to turn this off if you don't want to clutter your scripts' global scope with user data. As of PHP 4.2.0, this directive defaults to off. It's preferred to go through PHP Predefined Variables instead, such as the superglobals: $_ENV, $_GET, $_POST, $_COOKIE, and $_SERVER. Please read the security chapter on Using register_globals for related information. -- Berhenti langganan: [EMAIL PROTECTED] Arsip dan info: http://linux.or.id/milis.php
