| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | PHP login script? I hope you know what im talking about, kinda new to php. But can anyone help me out with having members log into and out of my site. I know how to get people to register for my site and have their account details stored into my mysql database, but when it comes to then logging in and everything it really confuses me. A tutorial anywhere or some personal help would be great.
__________________ :hearts: :love: Buy some domains |
| |
| | #2 (permalink) |
| NamePros Regular | See if this helps you out at all: http://www.evolt.org/article/PHP_Log...384/index.html
__________________ The Mountain Dew Knight does the Dew. All day long. |
| |
| | #4 (permalink) |
| NamePros Regular | I don't know what I'm doing wrong. I downloaded all the files, and filled in constants.php. I uploaded it all and I keep getting errors like this Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /include/constants.php:1) in /include/session.php on line 46 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /include/constants.php:1) in /include/session.php on line 46 Warning: Cannot modify header information - headers already sent by (output started at /include/constants.php:1) in /admin/admin.php on line 85
__________________ :hearts: :love: Buy some domains |
| |
| | #5 (permalink) |
| NamePros Regular | Although I haven't taken a look at the code, you most likely have already written something to the browser before you are initializing the cookies. Go to line 1 of constants.php. It's most likely that there is something written, (a comment, some html, the letter 'r') and it needs to be deleted for the script to work. |
| |
| | #6 (permalink) |
| DNOA Certified Seller | Look for whitespace too. Try to copy and paste the beginning part of any errors you ever receive while programming into google and you'll learn a lot. Another big part of debugging is turning error reporting on. PHP Code:
__________________ <--- baby Rogan says: sorry for spelling/punctuation mistakes, daddy's feeding me |
| |
| | #7 (permalink) | |
| NamePros Legend | turnkey: http://www.phpdeadlock.org/ Quote:
| |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |