[help] Cookies douesnt register why why !!!!!
View Single Post
01-02-2008, 11:08 AM
Join Date: Sep 2007
You can fix the constant notices by altering the $_POST references to $_POST['user'], $_POST['pass'] and so on.
The cannot modify header information is caused that you printed something out before sending an HTTP header. This can be fixed by either removing all output being printed above that code. (Tip from experince i sometimes came to add an extra space or newline after my ending ?> which caused these warnings). Or you can use output buffering functions to fix this.
To fix this using output buffering, then add ob_start() to the very start of you script, and ob_end_flush() to the very end and it should work alright.
Hope this helps,
View Public Profile
Send a private message to Kalle
Visit Kalle's homepage!
Find More Posts by Kalle