Find Jobs
Hire Freelancers

VB6 to PHP convert short function

$30-250 USD

In Progress
Posted over 13 years ago

$30-250 USD

Paid on delivery
Hello I need to convert this VB6 function into a php function. When I input "loffkkcgjnaeokqdqgmj" into the function it should output "[login to view URL]:17478". Thanks '//////////////CODE START Public Function LW2IP(sLWKey As String) As String On Error GoTo err Dim key As String Dim Ip As String Dim ippointer As Long Dim keypointer As Long Dim LWKey As String LWKey = sLWKey key = "TYXUYZUVXWSTZSWSZSVRT" ippointer = 12 keypointer = 1 Ip = "" Do Until ippointer = Len(LWKey) - 13 Ip = Ip & Chr$(Asc(Mid$(LWKey, ippointer, 1)) - Asc(Mid$(key, keypointer, 1)) + 32) ippointer = ippointer + 1 keypointer = keypointer + 1 Loop LW2IP = Replace(Ip, " ", vbNullString) Exit Function err: LW2IP = "invalid ip" End Function '/////////////////CODE STOP
Project ID: 799257

About the project

Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
Cocoa, United States
5.0
3
Member since Sep 18, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.