Plimus developers read! custom HTTP change!

Discussion in 'Feedback Requests' started by Jack Norton, Jun 21, 2007.

  1. Jack Norton

    Indie Author

    Joined:
    Jul 28, 2004
    Messages:
    5,130
    Likes Received:
    0
    I thought to post here since someone else told me about this change, Plimus put a news on control panel but don't know how many are reading them daily - and this change could cause some headaches if you use custom HTTP call to get license code.

    From today, they changed method from GET to POST. This will mean that if once you had a php:
    $productName = $_GET['productName'] ;

    now becomes

    $productName = $_POST['productName'] ;

    simple as that, but if you don't change this starting from today all your sales won't have a valid license key. Thought was better to post this info to avoid other developers possible problems :)
     
  2. AlexN

    Original Member

    Joined:
    Jun 25, 2005
    Messages:
    210
    Likes Received:
    0
    thanks! That's very nice of you. :)
     
  3. ManuelFLara

    Indie Author

    Joined:
    Jul 29, 2004
    Messages:
    470
    Likes Received:
    0
    Or you can always use $_REQUEST and have your code work both with GET and POST.
     
  4. frozax

    Indie Author

    Joined:
    Sep 16, 2005
    Messages:
    95
    Likes Received:
    0
    I didn't see that news and used $_GETs everywhere.
    Thanks a lot Jack!
     
  5. Indiepath

    Indiepath New Member

    Joined:
    Aug 22, 2004
    Messages:
    999
    Likes Received:
    0
    Or use something like this (PHP)

    Code:
    function param($field) 
    {
        $temp = $_GET[$field];
        if ($temp == "")
            $temp = $_POST[$field];
            
        return $temp;
    }
     
  6. esmelon

    esmelon New Member

    Joined:
    Aug 28, 2006
    Messages:
    98
    Likes Received:
    0
    or you can choose to use GET method instead POST in control panel.
     
  7. 3DRT.com

    3DRT.com New Member

    Joined:
    Oct 20, 2006
    Messages:
    86
    Likes Received:
    0
    yes the have some new nice changes.
    One great of them is affiliate discount codes, we were requesting so long.
    Now your affiliate doesn't have to create his own webpage and custom links, but can simply give special discount code to other people that will automatically share % to affiliate and is tempting to customers due to discount.
     

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer