Hi There I recently devaloped a web application where a user submits a for to clear data off his/her screen. The problem I am having is that the variables being sent by the form ($_POST) are not being sent to the next page, The strange thing is that sometimes it works perfectle (If I press the submit button for example, 10X after each other 1 will work and the other times no $_POST variable. It works perfectly on another system so I think it has something to do with my Apache setup, I just dont know what. I am using Apache 2.2, PHP 5, MYSQL 2.1 on a widows XP 2.8ghz dual core maching. Any assistance will be appreciated, Thanks
, Thanks for the qick reply, my form method is set to post, the strange thing is that sometimes it works.
Okay did some fault finding and discovered that if I disable "require valid-user" from me apache config file then it works perfectly everytime. Still dont know how to fix...please help. My settings are as follows: LoadModule sspi_auth_module modules/mod_auth_sspi.so AuthName "Authorised access only" AuthType SSPI SSPIAuth On SSPIOfferBasic On SSPIBasicPreferred off SSPIAuthoritative On SSPIDomain "my company name removed for security purpose" require valid-user Is there anything I am doing wrong, please let me know Thanks
it may have something to due with your php handler. If you use something like DSO then you have to use 777 permission for uploads this doesnt usually effect posts from my experience you may want to recompile apache with suphp as it will always from php as a valid user.
If it works sometimes, it is possible, it a case sensitive issue Use SSPIUsernameCase to eliminate case-sensitive typos of domain and username
. Thanks for the response but I finally figured out what the cause of the problem was. In my apache config file i needed to add the line "SSPIPerRequestAuth On" as well. after i did that my script worked perfectly. its weird how that would affect the POST variable's