470,864 Members | 2,010 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,864 developers. It's quick & easy.

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 6134
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by black lee via DBMonster.com | last post: by
4 posts views Thread by krgatez | last post: by
5 posts views Thread by John | last post: by
reply views Thread by =?Utf-8?B?RWQgT3R0bw==?= | last post: by
2 posts views Thread by tomex | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.