PHP Classes

LDIF 2 Array: Parse LDIF data into arrays

Recommend this page to a friend!

  Author Author  
Picture of tobozo
Name: tobozo <contact>
Classes: 3 packages by
Country: France France
Age: ???
All time rank: 172350 in France France
Week rank: 558 Up17 in France France Up

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can parse LDIF files and extract LDAP directory definition data into arrays.

It parses an LDIF and splits in one or more blocks with different sections of directory definition data.

Each block is parsed into a bi-dimensional array for further processing for an LDAP server access application.

* Class to read LDIF file
* @package ldif2array
* @author tobozo
* @date 2006-12-13

This is very primitive class written in php4 to read LDIF files.

It does not know (yet) how to write LDIF data.

When instanciating the object, you can specify a filename or give it the file content.
Then the data is processed and made available in the object.

Greetings to Vladimir Struchkov for providing some bugfix and base64 support.

  Classes of tobozo  >  LDIF 2 Array  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: LDIF 2 Array
Base name: ldif2array
Description: Parse LDIF data into arrays
Version: 1
PHP version: 4.0
License: GNU General Public License (GPL)
All time users: 515 users
All time rank: 5707
Week users: 0 users
Week rank: 206 Equal
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  Files folder image Screenshots  
File Role Description
Accessible without login Image file ldif2array Screen Resulting Array

  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Plain text file ldif2array.class.php Class Class source
Accessible without login Plain text file ldif2array_example.php Example Example script
Accessible without login Plain text file ReadMe.txt Doc. Read me first
Accessible without login Plain text file users.ldf Data LDIF Data sample

Install with Composer Install with Composer - Download Download all files: ldif2array.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.