login form

2 posts by 2 authors in: Forums > CMS Builder
Last Post: April 22, 2010   (RSS)

Re: [ikanizaj] login form

By Jason - April 22, 2010

Hi,

You can try this.

You'll need to include admin_functions:
<?php require_once("/cmsAdmin/lib/admin_functions.php");

The two HTML form inputs you use MUST be called username and password.

Once the user has submitted these, use this code:
$CURRENT_USER = getCurrentUserAndLogin();
This needs to be on the page where the HTML for was sent.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/