First of all, excuse my for my bad English.
I've made a webapp which allows an user or admin to login and basically the admin can make new (news)articles, look att all articles in an archive, read one article per page and edit existing articles. The user only can look at all the articles in the archive and read one article per page.
So I have a database for the articles and users who can login. Now my question why I can't login. My database is connected correctly.
And I also always get this error:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/furkantu/public_html/demo/dtt/header.php:15) in /home/furkantu/public_html/demo/dtt/index.php on line 48
I've made header.php which contains all the links(libraries, css) scripts and use this on every page. On line 48 of index.php I start a session.
I really can use some help, I've been searching so long on the internet. Maybe it is important to mention I'm not using hash or striplashes in my loginscript.