skip to Main Content

Php – $_POST not set after submit

Why is $_POST not set after submit ? I'm using WAMPSERVER (x64) up to date. Thank you for your help. <!-- index.php --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Form</title> </head> <body> <form method="post" action="index.php">…

VIEW QUESTION

Slim routing in PHP-DI container

I'm moving a project of mine into Slim Microframework, by using PHP-DI containerization. I need to POST some JSON data to http://localhost/api/base (XAMPP) and get a confirmation (at least at the beginning). This is my index.php: <?php use PsrHttpMessageResponseInterface as…

VIEW QUESTION
Back To Top
Search