Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsWeb Design & DevelopmentClient Side ScriptingJavaScript right
  Closed Topic Start new topic
left right
Paul L
post Dec 9 2008, 09:55 PM
Post #1


Newbie
*

Group: Members
Posts: 5
Joined: 9-December 08
Member No.: 72,456



Hi all,

Has anyone here had experience with the ajax captcha over at " psyrens.com/captcha/ " ?

When I install it on my server, the image is coming back with the word "ERROR!" in it and I can't find how or where the image is created. I'd appreciate any pointers - thanks!

http://www.bandizmo.com/paul/ is the address.

Cheers,

Paul

This post has been edited by zpcs: Dec 18 2012, 01:09 PM
Reason for edit: Broken URL Link (Abandoned/Expired URL Address Link) and then Broken URL Link allowanced for Descriptive URL Link so as not to disturb content
Go to the top of the page 
 
  + Quote Post
Banjo
post Dec 10 2008, 07:38 AM
Post #2


Marvellous Ninja
******

Group: Moderators
Posts: 581
Joined: 25-October 07
From: Windsor, UK
Member No.: 1,866



Tom made that captcha, maybe he will look at it.
Go to the top of the page 
 
  + Quote Post
Paul L
post Dec 10 2008, 01:53 PM
Post #3


Newbie
*

Group: Members
Posts: 5
Joined: 9-December 08
Member No.: 72,456



QUOTE(Banjo @ Dec 10 2008, 07:38 AM) *
Tom made that captcha, maybe he will look at it.


Thanks for the reply Banjo.

I contacted Rick (who's website I got the code off) and he sent me here.
"it's been quite a while since I've programmed and even longer since writing the AJAX CAPTCHA. As such I don't even know where to start when trying to help! Sorry!

However, someone at the Zymic forums is bound to be able to help, so try asking there. 8¬)"

I just can't work out how the numbers get onto the picture, there seems to be nothing in the code to do this, it just displays the image.

Any help would be appreciated.

Paul
Go to the top of the page 
 
  + Quote Post
Paul L
post Dec 10 2008, 07:18 PM
Post #4


Newbie
*

Group: Members
Posts: 5
Joined: 9-December 08
Member No.: 72,456



OK,

I'm getting there. I have found how the captcha image is made, the jpg file was php code to create a png, not a jpg itself.

So, I now have the problem - the session_start(); is not retaining the variable from the calling php code.

The index.php says:
<?php

// Make the page validate
ini_set('session.use_trans_sid', '0');

// Include the random string file
require 'rand.php';

// Begin the session
session_start();

// Set the session contents
$_SESSION['captcha_id'] = $str;


and the image.jpg says
<?php

// Begin the session
session_start();

// If the session is not present, set the variable to an error message
if(!isset($_SESSION['captcha_id']))
$str = 'ERROR!';


I'm really lost, it's not retaining the $_SESSION['captcha_id'] variable and I don't know why.

Can someone here help or throw any light on this?

Thanks in advance.

Paul
Go to the top of the page 
 
  + Quote Post
johnpitter
post May 18 2011, 09:50 AM
Post #5


Newbie
*

Group: Members
Posts: 11
Joined: 13-May 11
Member No.: 190,146



CAPTCHA is fooling the bots by asking questions only human can answer it.
Go to the top of the page 
 
  + Quote Post
 Closed Topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 20th May 2013 - 03:51 AM