Jump to content

Problem in xampp with register globals


Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.