ftbaker Posted October 11, 2014 Share Posted October 11, 2014 My website is being overrun with spam and I am trying to install a php captcha script. I have installed php 5 on my website askthephysicist.com which is hosted on a 1&1 Windows server, but I think the problem is that I do not know where to point my script to find the lib. I have very little fluency with any scripting languages. Anyhow, the beginning of the script reads:<?phprequire 'CaptchasDotNet.php';// Required Parameters// Replace the values you receive upon registration at http://captchas.net.//// client: 'demo'//// secret: 'secret'//and when I run it I get the message:Fatal error: require(): Failed opening required 'CaptchasDotNet.php' (include_path='.:/usr/lib/php5.5') in /homepages/29/d191906528/htdocs/askthephysicist/query.php on line 4The whole code may be found at http://captchas.net/sample/php/ if that is helpful, but the error occurs with the first statement require 'CaptchasDotNet.php'; Quote Link to comment Share on other sites More sharing options...
Frank_b Posted October 11, 2014 Share Posted October 11, 2014 php tries to open the file CaptchasDotNet.php but was not able to find it. Did you save the file in the same directory where this script is? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.