Find Jobs
Hire Freelancers

brief php code generator

$20-25 USD

Completed
Posted about 22 years ago

$20-25 USD

Paid on delivery
I'm looking for some code that I can run using php3 or php4. The code needs to take text ($name) and pull the first letter and the last letter in the multi-worded string. I want to take the letters and turn them into a number (e.g., A = 1, B = 2, C = 3, etc.) I want it to give me a variable $firstletterNo and variable $lastletterNo (integers now) that I will then manipulate into a registration code. I want the code to given me the $firstletterNo and the $lastletterNo then add on a "D" and the date in format (mmyy). For example if the $name was "Arthur Rodgriguz", the code would pull the A and the Z. It would then give me the variable $firstletterNo = 1 and the $lastletterNo = 26. It would then put these strings together with the "D" and date as "126D0102" and display this as "Your registration code is: 126D0102". Anyone able to do this? Thanks! ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
Project ID: 2837288

About the project

4 proposals
Remote project
Active 22 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
Awarded to:
User Avatar
See private message.
$20.40 USD in 14 days
5.0 (13 reviews)
4.0
4.0
4 freelancers are bidding on average $15 USD for this job
User Avatar
See private message.
$8.50 USD in 14 days
4.9 (37 reviews)
4.5
4.5
User Avatar
See private message.
$15.30 USD in 14 days
5.0 (7 reviews)
2.1
2.1
User Avatar
See private message.
$17 USD in 14 days
5.0 (1 review)
1.6
1.6

About the client

Flag of UNITED STATES
United States
5.0
114
Member since Dec 13, 2001

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.