i have searched the forum and the internet for some explanation to this question.
i am learning PHP and PostgreSQL.
and i ma now trying to handle forms input.
i have discovered the Pear - Validation package (not sure if it is one), but the fact is that i have red the manual and the tutoria and it seems to be very helpful.
i have a SuSE 9 Pro with Apache 2 and PHP 4.3.3 installed, which according to all that i have red so far should be enough.
but when i ran the following script that i gathered from a tutorial;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Testing PEAR HTML_QuickForm</title>
</head>
<body>
<?php
require_once "HTML/QuickForm.php";
$form = new HTML_QuickForm('frmTest', 'get');
$form->addElement('header', 'MyHeader', 'Testing QuickForm');
$form->display();
?>
</body>
</html>
it does not show as it should, instead this is what i have;
Warning: main(HTML/QuickForm.php): failed to open stream: No such file or directory in /srv/www/vHost/brainpowered.net/Untitled-2.php on line 9
Fatal error: main(): Failed opening required 'HTML/QuickForm.php' (include_path='.:/usr/share/php') in /srv/www
i have searched for an anwser but so far nothing.
thank you in advance for taking the time to reply to this post.
Regards,
Nicolas