Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Captcha Security
Author Message
guidyy
Worker
Worker



Joined: Nov 22, 2004
Posts: 208
Location: Italy

PostPosted: Thu Jun 15, 2006 7:55 am Reply with quote

This forum aint updated in ages..
well, i accidentally found this: [ Only registered users can see links on this board! Get registered or login! ]
I can't tell if it's good or not but i kinda like the audio captcha idea ....
Guido
 
View user's profile Send private message Visit poster's website MSN Messenger
technocrat
Life Cycles Becoming CPU Cycles



Joined: Jul 07, 2005
Posts: 511

PostPosted: Thu Jun 15, 2006 9:21 am Reply with quote

It's what we use in Evo for a visual captcha. It seems to work great. I have not tired the Audio because you need the other libs to get it working.

_________________
Nuke-Evolution
phpBB-Evolution / phpBB-Evolution Blog 
View user's profile Send private message
izone
Involved
Involved



Joined: Sep 07, 2004
Posts: 354
Location: Sweden

PostPosted: Tue Oct 03, 2006 2:09 am Reply with quote

Yes this one is great, but I've got a little problem with it.

I have a "Send Page to Friend" script (Not for PHP-Nuke, but stand alone) which sends the URL of page you are seeing to a friend. You click the link on the page and moves forward to another page with a Form. You write your name, friend's email and some text etc. and this script send URL of that page you were seeing to your friend.

I put a captcha under this form and it works great, the only problem is when this form sends informations to next file for (proccess.php) to check if captcha and email are OK and Email it to friend, I get an error like this:

Quote:

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/****/public_html/****/sendfriend/process.php:7) in /home/****/public_html/****/sendfriend/php-captcha.inc.php on line 46


I know that the form file sending header and if I remove session_satrt(), from php-captcha.inc.php line 46, then the captcha wont work!

Even with this error the script and captha work fine.

Is there any other way to get rid of this error?

Best Regards!
 
View user's profile Send private message
technocrat







PostPosted: Tue Oct 03, 2006 9:15 am Reply with quote

There might be an error that is causing that to happen. When you are on the page is there any other messages on the screen?
 
izone







PostPosted: Tue Oct 03, 2006 10:34 am Reply with quote

technocrat, Thanks for reply.

No there is no other error there. I've been searching around to find a solution for this and as if I understand the problem right, the session allready starts in line 7 in proccess.php and when I call php-captcha.inc.php in line 26 of same file (proccess.php) by adding require('php-captcha.inc.php'); it will (re)start the new session for captcha.

Line 6 to 10 in proccess.php are:

head>
META NAME="Title" CONTENT="<? echo $title?>">
META NAME="Author" CONTENT="James Crooke - CJ Web Design">
title><? echo $title?></title>
link rel="stylesheet" href="stylesheet.php" type="text/css">

(I removed "<" from begining of each line for Sentinel here)

when I do remove session_start(), line in php-captcha.inc.php, I get error message about the code you entered was wrong.

I've tried with:

-removing line 6 to 10 in proccess.php, no luck
-calling session_start(); as first line in proccess.php insted of php-captcha.inc.php, no luck
 
southern
Client



Joined: Jan 29, 2004
Posts: 624

PostPosted: Wed Nov 01, 2006 6:50 pm Reply with quote

Maybe your paths are off?

_________________
Computer Science is no more about computers than astronomy is about telescopes.
- E. W. Dijkstra 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Captcha Security

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©