473,322 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 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 6283
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.