Forum Moderators: coopster
here is the error:
Notice: Undefined index: login in /Applications/MAMP/htdocs/realestate/includes/session.php on line 23
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/realestate/includes/session.php:23) in /Applications/MAMP/htdocs/realestate/includes/session.php on line 27
<snipped code dump>
----------------------------------------------------------
me and my friend are trying for days to solve it be keep getting errors
***********************************************************
[edited by: coopster at 5:47 pm (utc) on Feb. 14, 2009]
[edit reason] Charter [webmasterworld.com] [/edit]
Fix the undefined index message and your redirection might work.
Notice: Undefined index: login in /Applications/MAMP/htdocs/realestate/includes/session.php on line 23
You are using an undefined index called "login" in an array (probably $_SESSION based on the discussion here) on line 23 of the script which is named "session.php" located in the path shown.
If the index is not set yet in that array, or if the array is not yet set, you are going to get an error message, which is indeed what is happening.