Skip to content

Instantly share code, notes, and snippets.

@cloud99
cloud99 / changepassword.php
Created July 26, 2012 10:17 — forked from mattrude/changepassword.php
LDAP PHP Change Password Page
<?php
$message = array();
$message_css = "";
function changePassword($user,$oldPassword,$newPassword,$newPasswordCnf){
global $message;
global $message_css;
$server = "localhost";