Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - language-direction-security code
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

language-direction-security code

 Post Reply Post Reply
Author
emsee View Drop Down
Newbie
Newbie


Joined: 01 February 2005
Location: Israel
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote emsee Quote  Post ReplyReply Direct Link To This Post Topic: language-direction-security code
    Posted: 11 February 2005 at 4:39am
Hi, since i have changed the deafult_style.css and added this code
HTML {
    direction : rtl;
}
P {
    direction : rtl;
}
TD {
    direction : rtl;
}
 so i can display the text RTL (hebrew language)  the security code won't let new users in. i did some invistigation and saw that if you write it backwards it works!
meaning: the code is: 123, you need to write 321 to register
how can i fix it to normal (only the security code)
 
thanks


Edited by emsee - 11 February 2005 at 4:41am
Back to Top
acrocat View Drop Down
Newbie
Newbie


Joined: 16 August 2004
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote acrocat Quote  Post ReplyReply Direct Link To This Post Posted: 11 February 2005 at 11:17pm
Interesting issue.  You could do one of two or more things. 

1.) In the register.asp file you could reverse the digits that the person entered before the string is validated

OR

2.) You can change line 1521 based on the language from:

<td width="50%" valign="top" background="<% = strTableBgImage %>">
<img src="security_image.asp?I=1&<% = hexValue(3) %>" />
<img src="security_image.asp?I=2&<% = hexValue(3) %>" />
<img src="security_image.asp?I=3&<% = hexValue(3) %>" />
<img src="security_image.asp?I=4&<% = hexValue(3) %>" />
<img src="security_image.asp?I=5&<% = hexValue(3) %>" />
<img src="security_image.asp?I=6&<% = hexValue(3) %>" />
</td>


to:

<td width="50%" valign="top" background="<% = strTableBgImage %>">
<img src="security_image.asp?I=6&<% = hexValue(3) %>" />
<img src="security_image.asp?I=5&<% = hexValue(3) %>" />
<img src="security_image.asp?I=4&<% = hexValue(3) %>" />
<img src="security_image.asp?I=3&<% = hexValue(3) %>" />
<img src="security_image.asp?I=2&<% = hexValue(3) %>" />
<img src="security_image.asp?I=1&<% = hexValue(3) %>" />
</td>

Acrocat

Back to Top
emsee View Drop Down
Newbie
Newbie


Joined: 01 February 2005
Location: Israel
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote emsee Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2005 at 8:43am
thanks man ill try that
Back to Top
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Post Options Post Options   Thanks (0) Thanks(0)   Quote zMaestro Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2005 at 3:17am
I think it is much more easier to do so
 
<td width="50%" dir="ltr" valign="top" background="<% = strTableBgImage %>">
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.