PHP has been giving me problems lately. I know it's a server configuration problem and not a script problem. This is what the person who codes for me said: "on your new server something wrong... i don't know what exactly, but it just calculating wrong for example, when it need calculating 2+3 it gives you 8" The same script works on another server flawlessly, but is having problem with my new server. Anyone have any suggestions.
I agree that we need to see the script. It's all well and good to say that you "know it's a server configuration problem and not a script problem", but things like 'screw up mathematics' is not a PHP config flag I don't think... possibly your script is assuming a configuration setting, but then that's not PHP's fault!
I have the same exact script running on my old server and it works like a charm. I had the guy that wrote the script look at it for me and he told me it has to be a configuration issue. I know it's tuff to help out when you can't see the script, but I can not release the source of the script. I can show the php info for both servers and hopefully someone can spot a difference in then and possibly solve my problem, but that's all I can do. Let me know if that will be good enough. Thanks.
I think what would be more usable would be a better description of the actual error... maye you can at least show us ten lines either side of the problem, along with a better description. What I mean to say is, it's obviously not a problem in the math code, so instead of the error being "when it need calculating 2+3 it gives you 8" we need to know where those numbers are coming from and so on. But definitely, a few lines either side of the problem would definitely help (and, while I'm not a lawyer I daresay it falls under fair use). The assumption also is that you can replicate the problem: don't just take your programmer's word for it.