Reply to Curious behavior

Your name:

Reply:


Posted by sheldonlg on 02/03/06 02:01

I have a php page. On it I have an html control (among others).

I can have:

(Line A:)
<input type="hidden" name="secretkey" value="<?php
echo $_SESSION['vmPassword'];?> ">

where $_SESSION['vmPassword'] has the correct value

or I can do:
(Line B:)
<input type="password" name="secretkey" value="<?php
echo $_SESSION['vmPassword'];?> ">

If I do Line A and transmit it, the value received for $secretkey looks
like an encrypted value.
If I do Line B and type in the value then the value received is the
correct value. Doing it with Line B with type="password" and having
the value as is results in a very long string of dots in the field.
Using value="" results in an initially empty password field.

I have checked and double checked the value of $_SESSION['vmPassword']
and it is correct.

Can someone help?

What I need to happen is for the password field to be hidden, with the
proper value put in by the php echo command.

[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

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