In case you can’t set a cookie from PHP when testing locally (localhost) with MAMP, you have to check « output_buffering » in your php.ini file.
Go to the right MAMP folder that contains the php.ini file. Be careful, there is probably several directories related to php.
On my Mac (MAMP 2.0.5), the path is :
MAMP/bin/php/php5.3.6/conf/php.ini
Default php.ini file :
I was having the same problem. This made it work. Thank you!
Cool !
Thank you !! I wish I found that before I lost 2 days screaming at PHP ^^’
suffering same problem, solved now thanks.
Cool !
Thanks you, I find you after 2 hours.. Thanks again
You are welcome !
Thank you so much
it helps.