Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: $_GET

  1. #11
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    *confused*

  2. #12
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by Calon View Post
    *confused*
    How are you confused?

    $_GET isn't leaving..

  3. #13
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    As Caleb said $_GET won't be getting removed as it's a super global.

  4. #14
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    As Caleb said $_GET won't be getting removed as it's a super global.
    And what exactly do you know about PHP?

    EPIC JKS

  5. #15
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Calon, you fail. When register_globals is turned on, say if you do:
    PHP Code:
    if($user == 'admin') { // I don't know why you'd do this, but it's an example. 
    Somebody could append the URL with "&user=admin," thus activating admin stuff.

    Therefore it can be very insecure. Superglobals are variables in PHP that hold data, (in arrays.. or objects(?) I believe, someone correct me if I'm wrong), such as $_GET, $_FILES, $_SESSION, $_SERVER, $_POST, $_REQUEST, $GLOBALS, $_COOKIE, $_ENV and whatever else I haven't had enough coffee to mention.
    How could this hapen to meeeeeeeeeeeeeee?lol.

  6. #16
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Hypertext View Post
    Calon, you fail. When register_globals is turned on, say if you do:
    PHP Code:
    if($user == 'admin') { // I don't know why you'd do this, but it's an example. 
    Somebody could append the URL with "&user=admin," thus activating admin stuff.

    Therefore it can be very insecure. Superglobals are variables in PHP that hold data, (in arrays.. or objects(?) I believe, someone correct me if I'm wrong), such as $_GET, $_FILES, $_SESSION, $_SERVER, $_POST, $_REQUEST, $GLOBALS, $_COOKIE, $_ENV and whatever else I haven't had enough coffee to mention.
    Did you get sacked as site coder?

  7. #17
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    WTH IS $_GET?

    I'm only joking, nobody needs to bother explaining it to me .

  8. #18
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Quote Originally Posted by Robald View Post
    WTH IS $_GET?

    I'm only joking, nobody needs to bother explaining it to me .
    Not trying to be mean, but what was the point of that post?

  9. #19
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Jackboy View Post
    Did you get sacked as site coder?
    No, resigned.
    How could this hapen to meeeeeeeeeeeeeee?lol.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •