This looks good.. thnx..
The Captcha image shows up file on Internet Explorer but does not on Firefox. On Firefox only the ALT text is visible. Any clue why?
I allways have the same problem,
You need to set a valid email address that you want messages sent to in the first couple of lines of file contact.php
I put my email address after $email_to in 8 and 34 line od code but still not working.
I have GD instaled ( saw in phpinfo.php)
You'll also want to make sure that the $email_to value is a valid email address which is allowed to send email from your webserver.
If you have a shared hosting account with Webhosting.net, it means that the $email_to value must be a valid mailbox under your hosting account.
Hope this helps,
If I get this error
Warning: main(ocr_captcha.class.php): failed to open stream: No such file or directory in /home/stwenor/public_html/datatest/contact.php on line 50
Fatal error: main(): Failed opening required 'ocr_captcha.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/stwenor/public_html/datatest/contact.php on line 50
What is the main cause
I'm encountering this error when I test the script and I have no idea on what I need to change.
Warning: main(./ocr_captcha.class.php) [function.main]: failed to open stream: No such file or directory in /home/pinoyit/public_html/contactsample/contact.php on line 50
Fatal error: main() [function.require]: Failed opening required './ocr_captcha.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pinoyit/public_html/contactsample/contact.php on line 50
I hope you can help me.
It looks like a spelling error in the filename.
I'll let Leonard know.