login form
2 posts by 2 authors in: Forums > CMS Builder
Last Post: April 22, 2010 (RSS)
By ikanizaj - April 22, 2010
I want to create a cmsAdmin login form on my website but I don't know how should I transfer username and password arguments?
--
Igor Kani¾aj
Igor Kani¾aj
Re: [ikanizaj] login form
By Jason - April 22, 2010
Hi,
You can try this.
You'll need to include admin_functions:
The two HTML form inputs you use MUST be called username and password.
Once the user has submitted these, use this code:
This needs to be on the page where the HTML for was sent.
Hope this helps.
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/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/