Post not accessable?

I run into a frustrating problem using POST. I wrote a simple form which was send to another page and I wanted to take that value. $_POST did not work. $this->Input->post() did not work. \\Input::post() neither. Some debugging hours later…

I enabled language forwards. That simply means that if you access „test.html“ contao redirects to /de/test.html (respective /yourlanguage/test.html) this 301 redirect does NOT send the POST data any further (So even if I’d love to believe that this is a bug, it’s not) – which simply means, if my form action would have been /$language/test.html instead of test.html it would have worked.

No Comments

Post a Comment