473,387 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

PHP encrypt of html text (password) and then Javascript decryption

Is there any way how to encrypt some html text in php and afterwards
decrypt it with javascript and send it with form?
Example:
<input type="hidden" value="password"/>
I don't want to have seen value "password" in html source code but I
need to send the value by form...

Dec 18 '06 #1
1 2405
Lee
ol**********@centrum.cz said:
>
Is there any way how to encrypt some html text in php and afterwards
decrypt it with javascript and send it with form?
Example:
<input type="hidden" value="password"/>
I don't want to have seen value "password" in html source code but I
need to send the value by form...
If the client machine has to send the password, the client can read it.
--

Dec 18 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ryan | last post by:
Hello, If I have an HTML text box that I want to manipulate with javascript, how can I access the value of the text box on postback server-side? Thanks, Ryan
4
by: Goo | last post by:
Hi. Looking for some advice. I have a simple javascript that gathers email from a HTML form and then upon the submit button click, it opens a default mail window with "mailto" and inserts...
1
by: oldrich.svec | last post by:
Is there any way how to encrypt some html text in php and afterwards decrypt it with javascript and send it with form? Example: <input type="hidden" value="password"/> I don't want to have seen...
20
by: alice | last post by:
I'm doing some text swapping with javascript, got it working fine, but I would like the line to have line breaks and being a beginner, I don't even know if this is possible. So I have a line like...
1
by: drchaos | last post by:
Placing HTML code with inline javascript into a div both as rendered HTML(the intended final purpose) and shown as RAW text HTML (for the user to copy and paste into their own webpage.) Here is...
3
by: bhanubalaji | last post by:
hi, I am unable to disable the text(label) in javascript..it's working fine with IE,but i am using MOZILLA.. can any one help regarding this.. What's the wrong with my code? I am...
3
by: mathewgk80 | last post by:
Hi all, I would like to know how can i encrypt and decrypt password using asp.net and c#.net... I would like to get some source code to do encryption and decryption.... Regards, Mathew
1
by: Don S | last post by:
Hi All. Is there a way in Javascript to retrieve the HTML text from a webpage, without actually opening the web page? For example, specify a web page (it's actually the reply to an HTTP GET),...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.