• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FORM / Redirection help required!

#5
[eluser]boltsabre[/eluser]
Quote:sir i would like to tell you that you should not use $_GET/uri values in inserting a data, instead use $_POST for security purposes. $_GET is just intended for getting data not posting

In terms of security using $_GET (aka $this->uri->segment(3)) or $_POST (aka a hidden input) makes no difference as BOTH are open to manipulation by users.

Whatever method you use you should still validate/cleanse ALL variables that you do not explicitly set yourself. This includes stuff like the values the $_SERVER and $_COOKIES superglobal variables, etc.


Messages In This Thread
FORM / Redirection help required! - by El Forum - 09-26-2013, 05:52 AM
FORM / Redirection help required! - by El Forum - 09-26-2013, 07:31 AM
FORM / Redirection help required! - by El Forum - 09-26-2013, 06:54 PM
FORM / Redirection help required! - by El Forum - 09-30-2013, 04:08 AM
FORM / Redirection help required! - by El Forum - 10-01-2013, 04:52 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.