I have a very simple website in development using php and MySQL. The php code for inserting entries into the database via an html form and the $_POST variable works perfectly on my local development server. However when I upload it to the DreamHost server the $_POST array is empty.
This doesn’t seem like a code issue but more of a server configuration issue but I don’t know where to start looking. It doesn’t generate any errors while executing and the error log files are empty. Any suggestions on what the source of this issue might be?
Edit: I forgot to mention that the $_POST global variable does work. I use it to pass user authentication credentials for the login process. So maybe it is code related but I can’t figure why it would work on one server but not the other.