PHP Classes

LDIF 2 Array: Parse LDIF data into arrays

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 520 All time: 5,699 This week: 100Up
Version License PHP version Categories
ldif2array 1GNU General Publi...4.0Files and Folders
Description 

Author

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.

Picture of tobozo
  Performance   Level  
Name: tobozo <contact>
Classes: 3 packages by
Country: France France
Age: ???
All time rank: 172650 in France France
Week rank: 312 Up15 in France France Up

Details

/* * 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.

Screenshots  
  • ldif2array
  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:520
This week:0
All time:5,699
This week:100Up