Questions on documentation and require_once

From: Date: Mon, 20 Jan 2003 15:52:00 +0000
Subject: Questions on documentation and require_once
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3364@lists.php.net to get a copy of this message
I have 2 questions. 1. I noticed the online documentation with the examples does not match the structure of the actual PEAR directory. For example, I used the example in the section titled, HTML Templates, where you defined HTTP_Template_IT. When I was trying to test this example, I received an error stating the HTTP_Template_IT is not found. I looked in the PEAR/HTML/IT.php and did not find a class called HTTP_Template_IT. I was able to make the adjustments to get the example to work, but it is rather confusing to read the documentation when the classes are something else. I thought the whole idea behind online documentation was to easily make changes to the documentation to match the code. When will the documentation match the latest release? 2. The other problem I had was with the same example, the 2nd line uses require_once “HTML/IT.php”; When I tried running the program, I received an error. I had to put the full path name of where the IT.php is located. Am I missing something that should be defined in my PHP.ini file to show the path of the PEAR directory? Scott Duke 2550 Acton Road P.O. Box 43200 Birmingham, AL 35243 mailto:Scott.Duke@McLeodSoftware.com

« previous php.pear.general (#3364) next »