I am learning PEAR. In following the tutorials the first line is "require_once 'HTML/QuickForm.php';" which in my case cant be right. The html/quickform directory is back out in the root directory under php/HTML/quickform.

If I just use the HTML/quickform line of course I get the error that the file doesnt exist and cant open it.

When I come up with an address for it such as "/home/lunar/php/HTML/QuickForm.php'" then the Quickform error goes away and I get this error

"Warning: require_once(HTML/Common.php) [function.require-once]: failed to open stream: No such file or directory in /home/lunar/php/HTML/QuickForm.php on line 33

Fatal error: require_once() [function.require]: Failed opening required 'HTML/Common.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lunar/php/HTML/QuickForm.php on line 33"

My question is, Where exactly are the HTML/quickform and common files supposed to be? I tried to include the Common file as well but that didnt do anything.

PEAR is installed through Cpanel into /home/domain/php. If this is correct, how on earth does one access PEAR with a command of "require_once 'HTML/QuickForm.php';" ?

Should I copy the php/HTML directory out of the root and into public_html?

Thanks, Im really confused on how to access or address this to get a simple form to work. The same question will probably be next with HTML_Table which of course is in the HTML directory