Đã Đóng

Convert Visual Basic function to PHP Code

I need someone to convert this code which, is a visual basic function, to a php function. It must produce an identical value as the visual basic counterpart. I can explain the process more in detail as far as the visual basic side goes.

Public Function GenRegCode(UserName As String, Password As String) As String

Dim CharNum As Long, PassChar As Long, RegCode As String, TmpStr As String, ProcessHex As String, ScrambleOrd As Long

PassChar = 1

TmpStr = ""

RegCode = ""

UserName = UCase(UserName)

Password = UCase(Password)

For CharNum = 1 To Len(UserName)

ProcessHex = Hex(Asc(Mid(UserName, CharNum, 1)) Xor Asc(Mid(Password, PassChar, 1)))

If Len(ProcessHex) Len(Password) Then PassChar = 1

Next CharNum

Do Until Len(RegCode) = Len(TmpStr)

ScrambleOrd = ScrambleOrd + 1

RegCode = RegCode & Mid(TmpStr, ScrambleOrd * 2, 1) & Mid(TmpStr, ScrambleOrd * 2 - 1, 1)

Loop

GenRegCode = RegCode

End Function

Kỹ năng: PHP, Visual Basic

Xem thêm: convert visual basic php, convert code php, visual basic convert php, php convert, convert basic php, convert visual basic code php, php converter, convert PHP code, visual basic php converter, convertir php, convert vb6 php, php visual basic, convert php visual basic, visual basic php, convert vba php, convertir visual basic php, convertire php, convertidor php, convert function php, convertisseur php, converting visual basic php, conversion php, code convert php, php convert visual basic, converter visual basic php

Về Bên Thuê:
( 10 nhận xét ) Clearwater, United States

Mã Dự Án: #27605

15 freelancer đang chào giá trung bình $50 cho công việc này

omsoftware

hello, i am expert in visual basic and php and can be start as soon as possible. Thankx Rajkamal

$30 USD trong 4 ngày
(78 Đánh Giá)
8.0
omtechnologies

We could rewrite the function in PHP for you. We have experts both in PHP and VB and can do the needful for you easily.

$30 USD trong 1 ngày
(146 Đánh Giá)
7.4
Kaabi

Hello , i can rewrite this function in PHP in less then 30-60 minutes , glad to work with you :)

$30 USD trong 0 ngày
(28 Đánh Giá)
4.5
w3nerds

I can do it now. Regards, Deepak Chauhan [url removed, login to view]

$50 USD trong 1 ngày
(2 Đánh Giá)
4.2
sandeepan

will be done in a day.

$100 USD trong 1 ngày
(1 Đánh Giá)
3.7
c0de

I would be able to rewrite your function as php if you can just give me the simple algorithm that it represents.

$50 USD trong 1 ngày
(4 Đánh Giá)
2.9
tvandame

I would like to help you with your projcet. I'm located in Austin TX, US. Feel free to contact me anytime.

$100 USD trong 1 ngày
(1 Đánh Giá)
2.0
winet

We have already started the code conversion. Need a little feedback on the same from you. Please reply to PMB.

$100 USD trong 0 ngày
(1 Đánh Giá)
1.9
adimirea

Hello. I can do this job in less than a day. I can code in both PHP and VB.

$30 USD trong 0 ngày
(0 Đánh Giá)
0.0
barnatot

I can do this it's easy

$30 USD trong 0 ngày
(0 Đánh Giá)
0.0
meerameena

Just for the sake of bidding I am not quote. I am expertise VB and PHP Programmer. I expecting this opportunity to proof my skill.

$75 USD trong 5 ngày
(0 Đánh Giá)
0.0
solutionsystem

Your code seems straight forward and simple for PHP conversion. Please contact for start to finish this. Abdul Rasheed

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0
anandani

Hi, I can do it very easily. Please check PMB

$30 USD trong 0 ngày
(0 Đánh Giá)
0.0
iplog

Hey, i'm coded with basic in 1997. :) its very easy to convert this function to C, Pascal, PHP, PERL.. or whatever u want:) it can be converted in minutes ;) i'll do that for 15$ but.. min. 30 :}

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0
develop7

Simple job - 15 mins. See PMB plz.

$30 USD trong 0 ngày
(0 Đánh Giá)
0.0