Trying to use send post-data but getting an empty array

  • Profile Image
    capnpop
    Asked on April 27, 2011 at 11:18 AM

    I'm trying to use the example provided (test.php from most post-data examples) to grab information from a submitted form so I can further manipulate it.  However, when the form is submitted I'm simply getting

    Array ( )

    using  <? print_r($_POST); ?>

     

    <pre><? print_r($_POST); ?></pre>  yields the same results.

    (I have also tried both with <?php instead)

    I'm using the direct link to the form and it does the same thing regardless of browser (at least between FF4 and Chrome).  Any suggestions?

  • Profile Image
    serkan
    Answered on April 27, 2011 at 11:41 AM

    Are you sure you have enabled the "Send Post Data" option on the form properties?

  • Profile Image
    capnpop
    Answered on April 27, 2011 at 02:08 PM

    Yes.  The form is enabled (not the question, but a dummy check for my benefit :P) and the option to "Send Post Data" is set to "Yes."

  • Profile Image
    capnpop
    Answered on April 27, 2011 at 02:19 PM

    Now it is working properly.  It was likely an error on my part (lack of www. in the url with a 301 pointing to the www. version of the domain).  That disconnect was likely causing a problematic hiccup.

  • Profile Image
    NeilVicente
    Answered on April 27, 2011 at 03:02 PM

    Hi,

    Great job on sorting things out by yourself. Feel free to ask us again if you have follow-up questions. Thank you.


    Neil

  • Profile Image
    khrisell
    Answered on July 04, 2013 at 05:48 PM
    Greetings!

    We are happy to announce that we have released Jotform Webhooks,  this feature would replace Send Post Data + Custom URL Thank You Page workaround in order to help you transfer forms data to your own database using your own script codes.

    To know more about Jotform Webhooks, please click here.

     

    Thank you for using JotForm. :)

  • Profile Image
    bbiglari
    Answered on July 22, 2015 at 05:41 PM

    Hello, 

     

    I have the same issue. Can someone help me on this?

     

    Thanks