The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php 5, $_GET works and $_POST don't. Why?

Discussion in 'General Discussion' started by aeav, Oct 10, 2006.

  1. aeav

    aeav Member

    Joined:
    Oct 18, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I have installed php 4 and 5, but just $_GET method works, the $_POST don't works when I get the value with "var_dump()" it returns "NULL"
    I allready try to change so many times the php.ini and I've had no results...

    Can somebody tell me what's happening?

    thank you all
     
  2. aeav

    aeav Member

    Joined:
    Oct 18, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    anyone knows?
    I search at internet and I see that can be the mod_bandwidth of apache, can be?
     
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Those are NOT the same arrays. Which one you use depends on exactly how the variables
    are being passed to the script that is running.

    See http://www.php.net documentation for more information

    It is totally beyond me why people think you can use $_GET and $_POST interchangably!
     
  4. aeav

    aeav Member

    Joined:
    Oct 18, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Spiral, this I know, but a client's using $_POST variable in yours script, so I need to make it works.

    Somebody have more ideas?

    thank you all
     
Loading...

Share This Page