Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    151
    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:
    8
    Trophy Points:
    193
    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:
    151
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice