<pre> <?php include ("CSMBConf.php"); $smbconf = new CSMBConf ("smb.conf"); print_r ($smbconf->parse ()); print ("\n\n\n"); print ($smbconf->recreate ()); ?> </pre>
info at phpclasses dot org