Redirect URL, no $_POST data?

Rob Begic's Avatar

Rob Begic

28 Dec, 2011 12:42 AM

Hi there

I've got a test area where I've setup the image upload, which works fine, but I'm not getting any $_POST data to my redirect URL ?

Here is the latest one I just did. Assembly ID - 8563e9c704fba827957d9f86da11cb8c

I've used the code from your minimal integration on the second processing page (which is just test.php), and no results were displayed.. So I basically did a print_r($_POST); to see what was posting and its an empty array.

Not sure if I'm doing something wrong here, but everything seems to be working fine apart from that?


  1. Support Staff 1 Posted by Tim Koschützki on 28 Dec, 2011 07:06 AM

    Tim Koschützki's Avatar

    Is your form set to multipart/formdata? Do you have this online somewhere where i can see it?

    Sent from my iPad

  2. 2 Posted by Rob Begic on 28 Dec, 2011 07:28 AM

    Rob Begic's Avatar

    Hi there

    Thanks for the help.

    Please delete the other tickets, it was bugging out when I was submitting this so they obviously went through, just didnt confirm on my end..

  3. 3 Posted by Rob Begic on 28 Dec, 2011 08:35 AM

    Rob Begic's Avatar

    And sorry, yes form set to multipart/formdata

  4. Support Staff 4 Posted by Tim Koschützki on 28 Dec, 2011 01:01 PM

    Tim Koschützki's Avatar

    I don't see any problem with how you integrate transloadit.

    Do you have anything else that could filter your $_POST array? Are you using a php framework? If not, can you paste the php code that you use?

    I checked firebug and the transloadit assembly results are properly added to the form with a < textarea name="transloadit" > [[JSON here]] < /textarea >

  5. 5 Posted by Rob Begic on 29 Dec, 2011 12:18 AM

    Rob Begic's Avatar

    Hey Tim, heres the output in the test.php (which its where its redirected):


    As you can see, after your sample script from the site I dumped all the $_POST info and its blank.

    It has me totally stumped..

    There is a framework/CMS that operates root, but it shouldn't have an impact on the /rob/ level.. To verify, I made another quick form and tested its output and it was fine.

    I've got my server guy to check the firewall, which has been disabled (just in case) and is still disabled.

    It has me totally stumped.


  6. 6 Posted by Rob Begic on 29 Dec, 2011 12:22 AM

    Rob Begic's Avatar

    Code didnt display .. I've attached it

  7. 7 Posted by Rob Begic on 29 Dec, 2011 12:53 AM

    Rob Begic's Avatar

    Just to add some more info.. I've loaded test forms from other servers and tested the output on my wtf server to that same test.php file (where transloadit scripts are) and the $POST dump in that test.php dumps $POST variables from other sites/servers fine

  8. Support Staff 8 Posted by Tim Koschützki on 29 Dec, 2011 07:04 AM

    Tim Koschützki's Avatar

    What happens if you do print_r($_POST) before all of that code?

    Sent from my iPad

  9. 9 Posted by Rob Begic on 29 Dec, 2011 07:49 AM

    Rob Begic's Avatar

    Same thing unfortunately.

  10. 10 Posted by Felix Geisendör... on 29 Dec, 2011 01:04 PM

    Felix Geisendörfer's Avatar

    Your webserver redirects all requests without leading www.:

    curl -i -X POST -F transloadit='{}'
    HTTP/1.1 301 Moved Permanently
    Date: Thu, 29 Dec 2011 13:04:00 GMT
    Server: Apache
    Cache-Control: max-age=86400
    Expires: Fri, 30 Dec 2011 13:04:00 GMT
    Vary: Accept-Encoding
    Content-Length: 243
    Connection: close
    Content-Type: text/html; charset=iso-8859-1
    <title>301 Moved Permanently</title>
    <h1>Moved Permanently</h1>
    <p>The document has moved <a href="">here</a>.</p>

    Fixing this is as easy as adding the www. to your redirect_url.


  11. Felix Geisendörfer closed this discussion on 29 Dec, 2011 01:04 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

20 Nov, 2016 02:52 AM
29 Oct, 2015 05:01 AM
27 Oct, 2015 05:01 AM
27 Oct, 2015 05:01 AM
26 Oct, 2015 05:03 AM


26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:02 AM
26 Oct, 2015 05:01 AM