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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.