Click here to Skip to main content
15,887,175 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Editor for php Pin
User 171649216-Dec-11 4:00
professionalUser 171649216-Dec-11 4:00 
GeneralRe: Editor for php Pin
VickyVicki17-Dec-11 19:25
VickyVicki17-Dec-11 19:25 
AnswerRe: Editor for php Pin
sephirot4721-Dec-11 20:26
sephirot4721-Dec-11 20:26 
QuestionReading Mails using PHP Pin
anudivya13-Dec-11 23:11
anudivya13-Dec-11 23:11 
AnswerRe: Reading Mails using PHP Pin
Kevin Schaefer3-Jan-12 12:19
Kevin Schaefer3-Jan-12 12:19 
Questioncreating webmail script using php Pin
anudivya12-Dec-11 21:29
anudivya12-Dec-11 21:29 
Questionlogin page is not working Pin
Jassim Rahma11-Dec-11 22:04
Jassim Rahma11-Dec-11 22:04 
AnswerRe: login page is not working Pin
Graham Breach11-Dec-11 22:25
Graham Breach11-Dec-11 22:25 
Your index page is checking if the session variable status has been set, and then redirecting only if it has been set to false (or anything except true to be precise).

If that is the whole of your index.php file then the status will never be true, because you haven't called session_start().

More importantly, $_SESSION["status"] will not be set even if you have been through the login page, so it won't even get to the $_SESSION["status"] != true condition.

If you had not successfully gone through the login page, status would not be set even if you had started the session.
GeneralRe: login page is not working Pin
Jassim Rahma11-Dec-11 22:40
Jassim Rahma11-Dec-11 22:40 
GeneralRe: login page is not working Pin
Graham Breach12-Dec-11 0:09
Graham Breach12-Dec-11 0:09 
QuestionIs there Dictionary Object in PHP Pin
awedaonline11-Dec-11 7:49
awedaonline11-Dec-11 7:49 
AnswerRe: Is there Dictionary Object in PHP Pin
Graham Breach11-Dec-11 8:28
Graham Breach11-Dec-11 8:28 
GeneralRe: Is there Dictionary Object in PHP Pin
awedaonline11-Dec-11 10:57
awedaonline11-Dec-11 10:57 
Questiondate format problem Pin
Jassim Rahma10-Dec-11 21:40
Jassim Rahma10-Dec-11 21:40 
AnswerRe: date format problem Pin
Graham Breach10-Dec-11 23:09
Graham Breach10-Dec-11 23:09 
AnswerRe: date format problem Pin
awedaonline11-Dec-11 7:57
awedaonline11-Dec-11 7:57 
AnswerRe: date format problem Pin
cjoki12-Dec-11 6:40
cjoki12-Dec-11 6:40 
Questionpage not showing in full height Pin
Jassim Rahma10-Dec-11 3:46
Jassim Rahma10-Dec-11 3:46 
AnswerRe: page not showing in full height Pin
cjoki12-Dec-11 6:42
cjoki12-Dec-11 6:42 
SuggestionRe: page not showing in full height Pin
Danny Martin5-Jan-12 2:48
Danny Martin5-Jan-12 2:48 
Questioninclude question Pin
Jassim Rahma10-Dec-11 3:35
Jassim Rahma10-Dec-11 3:35 
AnswerRe: include question Pin
awedaonline11-Dec-11 7:52
awedaonline11-Dec-11 7:52 
AnswerRe: include question Pin
Gerben Jongerius11-Dec-11 19:34
Gerben Jongerius11-Dec-11 19:34 
GeneralRe: include question Pin
Jassim Rahma11-Dec-11 21:44
Jassim Rahma11-Dec-11 21:44 
AnswerRe: include question Pin
Mohibur Rashid12-Dec-11 15:17
professionalMohibur Rashid12-Dec-11 15:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.