BlueCars Posted October 2, 2007 Share Posted October 2, 2007 PHP Code: $password = md5(md5($password) . $salt); setcookie(COOKIE_PREFIX . 'userid', $userid, time() + 14400); setcookie(COOKIE_PREFIX . 'password', md5($password . $license), time() + 14400); Can someone help translate this into Visual Basic? I posted in a VB forum and no one has responded yet. Your help is greatly appreciated. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/71591-php-to-visual-basic-script-translation/ Share on other sites More sharing options...
trq Posted October 2, 2007 Share Posted October 2, 2007 Do you mean VB or VBScript? If its VBScript your out of luck. There is no native md5 hash function available to VBScript. Quote Link to comment https://forums.phpfreaks.com/topic/71591-php-to-visual-basic-script-translation/#findComment-360424 Share on other sites More sharing options...
BlueCars Posted October 2, 2007 Author Share Posted October 2, 2007 This is just standard Visual Basic, Net Framework2.0, not VBScript. Quote Link to comment https://forums.phpfreaks.com/topic/71591-php-to-visual-basic-script-translation/#findComment-360426 Share on other sites More sharing options...
Crew-Portal Posted December 7, 2007 Share Posted December 7, 2007 I wasnt even sure that VB6 came with a setcookie functions. what exactly are you trying to do? Quote Link to comment https://forums.phpfreaks.com/topic/71591-php-to-visual-basic-script-translation/#findComment-409355 Share on other sites More sharing options...
trq Posted December 8, 2007 Share Posted December 8, 2007 This is just standard Visual Basic, Net Framework2.0, not VBScript. So, its VB.NET now? You need to be clear. Your subject says visiual basic script (vbscript), your first post says visual basic (we assume VB5 - VB6) and now your saying VB.NET. Which is it? Quote Link to comment https://forums.phpfreaks.com/topic/71591-php-to-visual-basic-script-translation/#findComment-410022 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.