Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43034 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70395 invoked from network); 13 Feb 2009 19:31:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2009 19:31:19 -0000 Authentication-Results: pb1.pair.com header.from=dpatterson@dplhenterprises.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dpatterson@dplhenterprises.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain dplhenterprises.com from 208.43.136.66 cause and error) X-PHP-List-Original-Sender: dpatterson@dplhenterprises.com X-Host-Fingerprint: 208.43.136.66 208.43.136.66-static.reverse.softlayer.com Windows 2000 SP4, XP SP1 Received: from [208.43.136.66] ([208.43.136.66:4384] helo=dplhenterprises.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/25-43210-38AC5994 for ; Fri, 13 Feb 2009 14:31:17 -0500 Received: from GeneralVM ([68.5.77.14]) by dplhenterprises.com with MailEnable ESMTP; Fri, 13 Feb 2009 11:31:13 -0800 To: Date: Fri, 13 Feb 2009 11:31:00 -0800 Organization: DPLH Enterprises Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C98DCE.8C494040" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6838 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcmOEZokj4dLF1tzTqO1GvZnssYTdw== Subject: Best/Proper way to process an extension-specific configuration (ini) file. From: dpatterson@dplhenterprises.com ("David M. Patterson") ------=_NextPart_000_002C_01C98DCE.8C494040 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am writing an extension that requires its own configuration file. I would prefer to not re-invent the parse a config file wheel and so, have been trying to use zend_parse_ini_file() function. Unfortunately, I have been unable to make this work, so far. If someone would either provide a code snippet for this or point me to one, I'd really appreciate it. Thanks, Dave ------=_NextPart_000_002C_01C98DCE.8C494040--