Page 1 of 1

Help implementing captcha in a form

Posted: Tue Jun 03, 2008 9:24 am
by Sindarin
I'm trying to implement captcha verification in my form, I downloaded the script from http://www.white-hat-web-design.co.uk/a ... aptcha.php but when I place it at the start of my page it shows:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at E:\Sites\site.com\demo\index.php:9) in E:\Sites\site.com\demo\contact.php on line 2
I'll have to note that this page is included from the index page.

Re: Help implementing captcha in a form

Posted: Tue Jun 03, 2008 12:41 pm
by vargadanis
The problem is not with captcha. U need to put the

Code: Select all

session_start();
in the 1st or 2nd line of you code. It must be before the <head></head> part of the HTML otherwise you will get this Warning message.

Re: Help implementing captcha in a form

Posted: Wed Jun 04, 2008 3:25 am
by Sindarin
Ah I see, thanks.

Re: Help implementing captcha in a form

Posted: Wed Jun 04, 2008 10:47 am
by vargadanis
np...