hi,
I am trying to get an application I wrote (and which works fine on another server) to work in my old NAS.
I am trying to figure out why my post requests are not working as they should.
My forms all have:
<form action="{{ @BASE }}" method="post" class="form-horizontal">
which seems to be working just fine on my hosting company's server.
When I use this on my NAS the form does not get posted as a POST request.
Changing the action to empty (action="") does work.
I assume this is because the form gets posted to it's own page, so it is a routing issue?
However, when I do the same thing on the index page of the website (which corresponds to the @BASE if I understand correctly), the same thing happens: the form is not posted, I can only get the $_GET parameters.
What could be causing this? What is the proper way to post the form?
My NAS has php 5.6, while the webserver on my hosting account has php7.0.