CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Login authentication with imap server

Print topic Send  topic

Author Message
sarfaraz

Posts: 6
Posted: 04/26/2005, 11:38 AM

I need to have login screen which has an additional text box for email id. The user will enter the userid, email_id and password. The email idand and password are to be authenticated on anothter IMAP server. Once authentication is scucessful the user_id will be accepted and next page will open other wise an error message will be displayed.

I tried including imap_open ( "server","login","password") funciotn but it does noit work. .
I need help in insrting the code at the right place.

Thanks

_________________
Sarfaraz
View profile  Send private message
Nicole

Posts: 586
Posted: 04/27/2005, 2:09 AM

Hello,
The main idea is that you need to modify CCS LoginUser() function in Common.php file. It contains authentication code and sets session variables. You can modify it to use different type of authentication

_________________
Regards,
Nicole
View profile  Send private message
sarfaraz

Posts: 6
Posted: 04/27/2005, 10:57 AM

Thanks for guidance. I added code in Login_events.php and could get authentication. But as you suggested I think it is right method to modify the LoginUser( ) function.
_________________
Sarfaraz
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.