|
Posted by frizzle on 01/26/06 00:13
Carl Vondrick wrote:
> You may want to look into Mcrypt
> (http://us3.php.net/manual/en/ref.mcrypt.php). But, with Peter said,
> what are you really try to achieve?
What i'm trying to do is build a way of security that a human is
submitting a form.
I know there are ways out there already, but i also have other purposes
in mind.
Example:
Image random generated according to key 1:
image.php?txt=kjGKUGFfas8gkjafKfasdf
The image is a php file, getting $_GET['txt'], decrypt it according
key 1, and encrypt it according to key 2. The second encrypting
becomes visible in the actual image.
I have a have a hidden form field with the value of key 1, and the
visitor has to insert the text from the image / key 2 into a form
field.
Then after posting i compare the decrypted hidden formfield's value
against the user submitted value ( / image's value). if they match,
the user read the image, and is human ...
It might sound stupid, sloppy or whatever, but i'm just trying to
achieve my goal.
Thanks.
Navigation:
[Reply to this message]
|