m****l 发帖数: 14 | 1 I did a very simple in java to check the password. If the password is right,
open album.htm, otherwise, open error.htm.
I was trying to open the htm in a new IE window. But the codes below don't
work. Could you please tell me how to do that? I highly appreciate your help.
var eval_string
function checkText() {
eval_id = document.myform1.elements[0].value
eval_password = document.myform2.elements[0].value
if(eval_id == " " && eval_password == " "){
location=' |
xt 发帖数: 17532 | 2 This is called javascript, not java. Also a password checking
with javascript is not going to do any good. I can hack it
in seconds. :-) |
c***r 发帖数: 4631 | 3 建议转网页设计版
【在 m****l 的大作中提到】 : I did a very simple in java to check the password. If the password is right, : open album.htm, otherwise, open error.htm. : I was trying to open the htm in a new IE window. But the codes below don't : work. Could you please tell me how to do that? I highly appreciate your help. : var eval_string : function checkText() { : : eval_id = document.myform1.elements[0].value : eval_password = document.myform2.elements[0].value : if(eval_id == " " && eval_password == " "){
|
c**t 发帖数: 2744 | 4 replace location with 'window.open()'
【在 m****l 的大作中提到】 : I did a very simple in java to check the password. If the password is right, : open album.htm, otherwise, open error.htm. : I was trying to open the htm in a new IE window. But the codes below don't : work. Could you please tell me how to do that? I highly appreciate your help. : var eval_string : function checkText() { : : eval_id = document.myform1.elements[0].value : eval_password = document.myform2.elements[0].value : if(eval_id == " " && eval_password == " "){
|
m****l 发帖数: 14 | 5 I know it's easy to be hacked. Even I can hack myself. Could you please give
me some suggestions? Thanks a lot.
【在 xt 的大作中提到】 : This is called javascript, not java. Also a password checking : with javascript is not going to do any good. I can hack it : in seconds. :-)
|
m****l 发帖数: 14 | 6 Thanks a lot. I got it.
right,
help.
【在 c**t 的大作中提到】 : replace location with 'window.open()'
|
g*s 发帖数: 2277 | 7 document.location.href='./error.html'
【在 m****l 的大作中提到】 : Thanks a lot. I got it. : : right, : help.
|
g*s 发帖数: 2277 | 8 check password in server side, not client side
【在 m****l 的大作中提到】 : I know it's easy to be hacked. Even I can hack myself. Could you please give : me some suggestions? Thanks a lot.
|
m****l 发帖数: 14 | 9 Basically what I really want to do is just put all my photos on web. I think
there must be a way to do that more efficiently. But I don't know :(. Could
you please give me some suggestions. I highly appreciate that!
give
【在 g*s 的大作中提到】 : check password in server side, not client side
|
e***g 发帖数: 158 | 10 just download a album software.
【在 m****l 的大作中提到】 : Basically what I really want to do is just put all my photos on web. I think : there must be a way to do that more efficiently. But I don't know :(. Could : you please give me some suggestions. I highly appreciate that! : : give
|
w********c 发帖数: 2632 | 11 how about pbase it? :)
【在 e***g 的大作中提到】 : just download a album software.
|
c*y 发帖数: 137 | 12 depending on what kind of serers you have. Most unix servers have
some simple (though not the most secure) way to add user name/password
to folders. It's fairly easy to do.
【在 m****l 的大作中提到】 : Basically what I really want to do is just put all my photos on web. I think : there must be a way to do that more efficiently. But I don't know :(. Could : you please give me some suggestions. I highly appreciate that! : : give
|