I\'ve been using this exact same code for ages, and I have never had a single problem. Now all of a sudden it has stopped working.
I have read across the internet ab
This seems to be some really weird problem, and I somehow fixed it by doing the following:
I upgraded my PHP in Wamp through this tutorial. I also updated my timezone in php.ini When I upgraded it didn't work, so I reverted back to my previous version of PHP, and voilà - it worked.
I have absolutely no idea how this solved the problem, however it worked for me.