how we know whether register global is on or off in the server?
You could use ini_get().
but displayed"Warning: Wrong parameter count for ini_get()"
Read the page NogDog linked to.
But you should always use $GET, $POST, $_REQUEST... doesn't register_global go away in PHP6 anyway ?
Yes, register_globals is one of the things which is planned for removal from PHP6. I don't know whether it exists in the current dev version.
Mark
thanks