Jump to content

$_SERVER['REQUEST_METHOD'] to $REQUEST_METHOD


alin19

Recommended Posts

i'm fixing a friends website

 

Then fix the code, don't turn the setting on that would cause $REQUEST_METHOD to work. The specific setting, because it opened a huge security hole (allows hackers to set session variables) was turned off by default over 7 years ago and has been completely removed in php6. If you are fixing the code, then fix it so that is uses the correct array variables.

if i would have to fixed id from head to tail i will delete everyting and code it from scratch,

 

but i just need to fix something that he is not comfortable with ; i will make him aware of the problems,

uncoded psw for users, deprecated functions , and much more, it will be his choise if he will invest money in it or leave it like this.

 

thanks for your answer

 

L.E:  i have found it, thanks  for your post; i know it is good intended

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.