The Slim Framework support forum has moved to This Tender forum is no longer maintained or monitored.

Send form

tiziura's Avatar


28 Jun, 2013 12:39 PM

Someone can explain me how to send forms? Using the POST method

this is not working mail($to, $subject, $message, $headers);

  1. 1 Posted by uwe.d.wagner on 02 Jul, 2013 12:19 PM

    uwe.d.wagner's Avatar

    For me your example work - i guess the problem is your form code. Part of my test form, especially the button part.

    <button id="btnSubmit" name="btnSubmit" type="submit"> For me it would be better if check against real post values.

    By the way, why you use the Slim $req->post('parameter') and change to the
    global $_POST['parameter'] array?

  2. 2 Posted by sada on 12 Jun, 2015 01:43 PM

    sada's Avatar


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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