Menu
I see everywhere note: setcookie() should be called before <html>
or session_start() should also be before any thing even line break & UTF-8 encoding doesn’t work for these functions.
1.
Is there any other way so that I can set cookie in code whenever I want?
Are there any drawbacks of using session.auto_start in php.ini instead of using session_start() everytime?