avatar
Java questions# Java - 爪哇娇娃
m*l
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='
avatar
xt
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. :-)
avatar
c*r
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 == " "){

avatar
c*t
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 == " "){

avatar
m*l
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. :-)

avatar
m*l
6
Thanks a lot. I got it.

right,
help.

【在 c**t 的大作中提到】
: replace location with 'window.open()'
avatar
g*s
7
document.location.href='./error.html'

【在 m****l 的大作中提到】
: Thanks a lot. I got it.
:
: right,
: help.

avatar
g*s
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.

avatar
m*l
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
avatar
e*g
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

avatar
w*c
11
how about pbase it? :)

【在 e***g 的大作中提到】
: just download a album software.
avatar
c*y
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

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。