Reply to Re: An encrypting function.

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация