server(); $res = @ldap_modify( $ds, $dn, $update_array ); if( $res ) { $redirect_url = "edit.php?dn=$encoded_dn"; foreach( $update_array as $attr => $junk ) { $redirect_url .= "&modified_attrs[]=$attr"; } header( "Location: $redirect_url" ); } else { echo $_SESSION['header']; echo "