php is a great language with great language with alot of helpful functions.
Last month I was deploying a php farm app, where we had to register farmers.Registered farmers also had to get their photos taken, and their details like name, location etc on an android phone.
We had done numerous tests and everything was ok.
That is until we went to the field and farmers we been registered in their numbers, averaging 23 per device per day.
Little did we know there was a file called php.ini :) . There is a line in the file that that states the maximum number of files that can be uploaded per request for xamp the default is 20.
So what was happening was is that if there were more than 20 farmers the last file would repeat for all farmers after 20.
This had huge implications, several farmer with the same photo. some cards printed for farmers had wrong photos.
A single card costed around 5 dollars.
Conclusion be carefull on configuration files in servers.
No comments:
Post a Comment