Kennethzzz
-
Content Count
2 -
Joined
-
Last visited
Posts posted by Kennethzzz
-
-
Hi, i'm new to php. Actually i was handed with a school project which is to create a e-commerce site. However i have no basic knowledge on php. Right now i'm actually trying to create a login/register page. I tried out your tutorial in the 1st page of this thread but ends up with errors here and there. So if you could provide me with more understanding on these coding, i'll be gratful.
1) I keep getting this error when trying to register... kept trying.. but all it came out was "Error: User not added to database."
2) I have tried creating a user n pass in the database (mysql) and then went on to tried to login.. but all i get was "Sorry, could not log you in. Wrong login information."
And also on top of the login box n password box, there are a few error message:
3) On the members page as well:Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\wwwroot\login.php:4) in C:\Inetpub\wwwroot\login.php on line 5
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\login.php:4) in C:\Inetpub\wwwroot\login.php on line 5
4) Logout page display:Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\wwwroot\members.php:10) in C:\Inetpub\wwwroot\members.php on line 11
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\members.php:10) in C:\Inetpub\wwwroot\members.php on line 11
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\members.php:10) in C:\Inetpub\wwwroot\members.php on line 16Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\wwwroot\logout.php:10) in C:\Inetpub\wwwroot\logout.php on line 11
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\logout.php:10) in C:\Inetpub\wwwroot\logout.php on line 11
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\logout.php:10) in C:\Inetpub\wwwroot\logout.php on line 16Notice from rvalkass:
Quotes added around error messages.
Php Simple Login Tutorial Learn how to make a simple login
in General Discussion
Posted · Report reply
Tried doing that, but error remains.