ok so im moving a clients site to a new server and now all the admin forms are no longer working. Upon further investigation i have come across a strange way that they are handling forms that ive never seen before. it goes as follows…
in the form handler there is no place where a variable is set to the $_POST value (ie: $catNum = $_POST[‘catNum’];. Somehow it automatically puts the form value in the php variable. The variable name correlates with the name on the input field and if either one is renamed it no longer works. Somehow it automatically generates this variable from the name on the input field and sets the value.
It definietly works on the old server
Both servers are running the same version of PHP.
Has anyone ever seen this before… Am i missing some php module that automatically does this or is this something from an older version of php?
i really dont mind having to rewrite all the form handlers as im getting paid for it but i dont want to waste a bunch of time doing it if theres some simple fix or thing that im missing