Solved

Securimage Error

Posted on 2010-08-16
2
388 Views
Last Modified: 2013-12-13
I moved to a new web server and now my securimage captcha function has an error...

Fatal error: Class 'Securimage' not found in /home/pathtofile/email.php  on line 36

Any ideas on what this could be?  The file structure of the web site did NOT change and the email does get sent.
0
Comment
Question by:tru504187211
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Expert Comment

by:Om Prakash
ID: 33444762
The 'Securimage' class or file is not included at the time of the call.
Please make sure it is included.
0
 
LVL 6

Accepted Solution

by:
nitinsawhney earned 500 total points
ID: 33444783
The only thing that i could guess is that the file securimage.php is not being included correctly or the path to securimage.php is not correct.

There will be a similar statement to the following in the php file that handles the form submission.

include_once $_SERVER['DOCUMENT_ROOT'] . '/securimage/securimage.php';

See if the path is correct.

You can road more about setting us securimage here http://www.phpcaptcha.org/documentation/quickstart/
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question