Jump to content
Larry Ullman's Book Forums

Recommended Posts

I apologize if this has been covered somewhere else, but I couldn't find it.  I am trying to get the path to HTML QuickForm2 to work.  Here is the path I have:

 

'/C://xampp/php/pear/HTML/'

 

But I get these errors:

Warning: require(HTML_QuickForm2.php): failed to open stream: No such file or directory in C:\xampp\htdocs\hmdbo\login.php on line 9

Fatal error: require(): Failed opening required 'HTML_QuickForm2.php' (include_path='.;C:\xampp\php\pear;/C://xampp/php/pear/HTML/') in C:\xampp\htdocs\hmdbo\login.php on line 9

 

Can someone please help me with this? What should the right path be?

 

Thanks,

 

Randal

Share this post


Link to post
Share on other sites

1) Add the PEAR directory to your include_path by altering php.ini. Google it. or...

2) Go modern, and look up working with Composer instead of Pear. It's the future. Find HTML Quickform on Packagist.com once you've installed composer.

  • Upvote 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...