denizen Posted March 3, 2009 Share Posted March 3, 2009 I have done the project in php in which after submits the switch case has been checked as switch($submits) in xampp server it cannot check the submits by itself. it can take $_post('$submits') but in another server it can run without $_post . i have done register global to be on also then also there is problem can anybody help me Link to comment https://forums.phpfreaks.com/topic/147709-problem-in-xampp-with-register-globals/ Share on other sites More sharing options...
PFMaBiSmAd Posted March 3, 2009 Share Posted March 3, 2009 Register_globals were turned off by default in php4.2 in the year 2002 because of the huge security problem they created by allowing hackers to set session variables. Register_globals have been completely removed in php6. Don't write code that uses register_globals or you will have a rude surprise when you have to rewrite it to get it to work under php6. Link to comment https://forums.phpfreaks.com/topic/147709-problem-in-xampp-with-register-globals/#findComment-775408 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.