You are here: Re: input type=password question « PHP Programming Language « IT news, forums, messages
Re: input type=password question

Posted by David Gillen on 11/11/05 17:46

An noise sounding like Greg Scharlemann said:
> I've got a simple registration script that has an input field of type
> password. When I retrieve what is typed in the password field via:
>
> $_REQUEST["password"];
>
> I always get the same encoded string: 8f404d5399b6eb816fe579381a0e2e6c
>
You should be getting a plain text string of whatever the user typed in. It is
up to you then to encode/encrypt that some way when storing it.


> and second, is that the correct way to get the password from a simple
> form or is there a better way of doing it?
>
$_REQUEST is fine. Although if your form is using method="POST" you might
consider using $_POST instead.

db
--

/(bb|[^b]{2})/
Trees with square roots don't have very natural logs.

 

Navigation:

[Reply to this 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

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