File: example.php

Recommend this page to a friend!
  Classes of Cesar D. Rodas  >  PHP poppassd client  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: PHP poppassd client
Change password of users with poppassd protocol
Author: By
Last change: * Made visible without user login
Date: 14 years ago
Size: 520 bytes


Class file image Download
 * PHP popassd client.
 * This class allow PHP communicate witha PopPass server and changes the password
 * of mail users.
 * The author disclaims the copyright over this class.
 * Cesar D. Rodas
$c = new poppassd("crodas","actual_password","new_password", "");
$err = $c->changePasswd();
if (
$err != PASS_CHANGED){
"Error: ".$c->errorMessage($err);
} else {
"Password changed!";

For more information send a message to info at phpclasses dot org.