472,951 Members | 2,364 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,951 software developers and data experts.

PHP, IMAP changing password

Hi,

I'm just getting into the PHP/IMAP bits and I'd like to know how to
change my imap password through PHP?

Thanks - Robin
Jul 17 '05 #1
3 6262
FrobinRobin <fr*********@hotmail.com> wrote:
I'm just getting into the PHP/IMAP bits and I'd like to know how to
change my imap password through PHP?


AFAIK you can't (unless you have a weird imapd that supports is).

--

Daniel Tryba

Jul 17 '05 #2
>I'm just getting into the PHP/IMAP bits and I'd like to know how to
change my imap password through PHP?


Unless your particular IMAPD has some sort of custom API exposed you most likely
won't be able to do this with a single command call.

This does not mean it can't be done.

Remember, most Imap servers authenticate off the local or domain account database,
so in the case of a unix/linux based server you would only need to have access to a
script (could be cgi) that allows you to change the local user account info.

This should not be hard to get wired up as there are tons of perl scripts floating around
especially ones that are aimed at providing web based system administration or web
based hosting admin (ala cpanel).

A little research and some googling should get you where you need to be.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
Wil Moore III, MCP Site : www.quicksitedesign.com?em
Application Developer Site : www.digitallysmooth.com?em
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
Jul 17 '05 #3
laidbak wrote:
>I'm just getting into the PHP/IMAP bits and I'd like to know how to
>change my imap password through PHP?

Unless your particular IMAPD has some sort of custom API exposed you
most likely
won't be able to do this with a single command call.

This does not mean it can't be done.

Remember, most Imap servers authenticate off the local or domain account
database,
so in the case of a unix/linux based server you would only need to have
access to a
script (could be cgi) that allows you to change the local user account info.

This should not be hard to get wired up as there are tons of perl
scripts floating around
especially ones that are aimed at providing web based system
administration or web
based hosting admin (ala cpanel).

A little research and some googling should get you where you need to be.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
Wil Moore III, MCP Site : www.quicksitedesign.com?em
<http://www.quicksitedesign.com?em>
Application Developer Site : www.digitallysmooth.com?em
<http://www.digitallysmooth.com?em>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~


or maybe: exec("commands_to_change_password");

- Dan
http://www.dantripp.com/
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: black lee via DBMonster.com | last post by:
we would like to provide users with changing password feature in our application. I understand that db2 uses password of operating systems. does anyone know if there is sql commend or api we use in...
10
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
4
by: krgatez | last post by:
I have a console application in VB.NET that I have hard coded the username/password for the SQL database. Haven't been programming for long, so don't know much about the tools available. The...
0
by: Newbie | last post by:
hi all, i am doing a project which requires me to provide a security login feature. i understand that access has a user level security feature but i could not use it coz i'm tested on my...
5
by: John | last post by:
Hi I am trying to set a new password using the following code; Dim u As MembershipUser = Membership.GetUser(UserName) Dim OldPassword As String OldPassword = u.GetPassword If...
4
by: muchexie | last post by:
I have developed a login system but its failing to allow the user to change password. Here is my code. <? require_once("system_fns.php"); session_start(); do_html_header("Changing...
0
by: johnathp | last post by:
hi there, I am trying to reset a password using this code snippet and it worked fine but only one concern I have is that, I need to let the user know if he has used a old password wrong. if the user...
0
by: =?Utf-8?B?RWQgT3R0bw==?= | last post by:
When changing a user's password in Active Directory Users... I get a strange error message (and the password change fails): Windows can not complete the password change for the user <insert user...
2
by: tomex | last post by:
i have a code in php that changes password. it runs smoothly no errors, but the question is it does not update the passoord on the database?? here is the form $s is the session ID <?php echo"...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.