Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID


We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Cant log into my CMS Admin area... why?

DanielowskiDanielowski Posts: 4Member
Hey Guys,

I was trying to code a Content Management System, but I can't log into the Administration Area. The rest of the Website work very well. I can't figure out why I can't log into the Admin Area. Here is the Code of some files.

This is the index.php.


/* load konfuration files */

/* Check if logged in, else login -> */
/* read given variables */
$cmd = $_GET['cmd'];
$id = $_GET['id'];

/* read template */
$template = get_file_as_string($base['adm_template']);

/* load content */
case 'news':
$base['adm_content'] = '


$base['adm_content'] .= load_admin_news();
case 'newsedit':
$base['adm_content'] = '

'.$base['adm_actual'].'News bearbeiten

$base['adm_content'] .= load_admin_newsedit($id);
case 'newsadd':
$base['adm_content'] = '

'.$base['adm_actual'].'News erstellen

$base['adm_content'] .= load_admin_newsadd($id);
case 'newsdel':
$base['adm_content'] = '

'.$base['adm_actual'].'News l

Sign In or Register to comment.