Old 04-20-2005   #1 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,100
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Wierd IE6 JS Error

Hiya peeps! I've been programming a lot today, and i've been left with a chunk of code that generates a spurious syntax error in IE6... but NO OTHER BROWSERS! I have no idea why its creating this error, as the underlying code works just fine. Any ideas how I can correct this little snafu? Here's the code:

Code:
<form action='http://forums.biorust.com/login.php' method='post' onsubmit='md5hash(vb_login_password,vb_login_md5password)'><script type='text/javascript' src='http://forums.biorust.com/clientscript/vbulletin_md5.js'></script> 
		 <table border='0' cellspacing='0' cellpadding='0'><tr><td>Username:</td>
            <td><input type='text' class='button' name='vb_login_username' id='navbar_username' size='10' accesskey='u' tabindex='1' value='' onfocus='if (this.value == 'username') this.value = '';' /></td></tr><br>
            <tr><td>Password:&nbsp;&nbsp;</td>
            <td><input type='password' class='button' name='vb_login_password' size='10' accesskey='p' tabindex='2' /></td></tr></table> 
            <input type='checkbox' name='cookieuser' class='button' value='1' tabindex='3' id='cb_cookieuser_navbar' accesskey='c' checked='checked' /><span class='sectionheader'> Remember Me</span><br><br>
        <input name="submit" type='submit' class='button' accesskey='s' tabindex='4' title='Log In' value='Log In To Biorust!' /> 
        <input type='hidden' name='do' value='login' /><input type='hidden' name='forceredirect' value='0' /><input type='hidden' name='vb_login_md5password' /></form>
__________________
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2005   #2 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
could you not just use the php function md5?
__________________
BioRUST Tutorials - the birthplace
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2005   #3 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,100
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Quote:
Originally Posted by scrowler
could you not just use the php function md5?
Hmmm, could do. Got any example code that will work perfectly through VB3?
__________________
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2005   #4 (permalink)
Local Biorust Beast
 
Order's Avatar
 
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253

Send a message via AIM to Order Send a message via MSN to Order Send a message via Yahoo to Order
VB3 uses an unique md5 formula, that makes it difficult.

Code:
md5(md5(password) . salt)
fin.
__________________
Order is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-24-2005   #5 (permalink)
Sheep Worrier
 
Man1c M0g's Avatar
 
Join Date: Sep 2003
Location: Portsmouth, UK.
Posts: 4,100
Blog Entries: 14

Send a message via ICQ to Man1c M0g Send a message via MSN to Man1c M0g Send a message via Skype™ to Man1c M0g
Any chance of any example code? Soz, but this error is really getting on my tits now... :/
__________________
Man1c M0g is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-24-2005   #6 (permalink)
Local Biorust Beast
 
Order's Avatar
 
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253

Send a message via AIM to Order Send a message via MSN to Order Send a message via Yahoo to Order
hmm.. no js code example. js isn't one of my known languages.
__________________
Order is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 05:35 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT