Question
LAMP $_POST doesnt work or is empty
Hi,
I have a Droplet with the application LAMP. My big problem is that I can’t get any data from POST.
<html>
<body>
Welcome <?php echo $_POST["name"]; ?><br>
</body>
</html>
Returns only “Welcome ” with this link: X.X.X.X\page.php?name=test
Do you have any Idea? I tried to set up LAMP on my own and this also didn’t work.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×