cerca register_globals nel phpinfo ed assicurati che sia su Off.
Se e' cosi' c'e' qualcosa che non quadra, un' installazione fatta a caso o non so cos' altro, altrimenti significa che questi di PHP non capiscono un accidente e le hanno settate su On.
In questo caso dovresti provare ad utilizzare uno script tipo questo:
codice:class RemoveRegisterGlobals { // [ andr3a 02/06/2004 ] // // EXAMPLE: // require( "RemoveRegisterGlobals.class.php" ); // $removeRegisterGlobals = &new RemoveRegisterGlobals(); function RemoveRegisterGlobals() { $this->__directVarDestructor( $GLOBALS ); } function __directVarDestructor( &$what ) { while( list( $key ) = each( $what ) ) { if( is_Array( $what[$key] ) ) { $this->__directVarDestructor( $what[$key] ); } else { if( isSet( $GLOBALS[$key] ) ) { unset( $GLOBALS[$key] ); } } } } }
poi fai un var_dump( $GLOBALS );
sotto e vedi se c'e' ['_POST']


Rispondi quotando