Find Jobs
Hire Freelancers

485740 php4 to php5 issue

N/A

Completed
Posted about 13 years ago

N/A

Paid on delivery
We have just recompiled our server from php4 to php5 and getting an error: Fatal error: Cannot use string offset as an array in /home/xxx/[login to view URL] on line 146 That file has the following code at that line: return strtoupper($fMemb[ login ][ 0 ]).str_repeat("0", 6 - strlen($fMemb[ id ])).$fMemb[ id ]; } The code above this line is below: -------------------------------------------------------- function sysGetProfileCode($fMemb = 1) { global $fMember; if($fMemb == 1) { $fMemb = $fMember; } return strtoupper($fMemb[ login ][ 0 ]).str_repeat("0", 6 - strlen($fMemb[ id ])).$fMemb[ id ]; } // sysGetProfileCode ----------------------------------------------------------------- We need a fix to get this code working on the new PHP5.
Project ID: 2231650

About the project

1 proposal
Remote project
Active 12 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
Details in PM.
$15 USD in 0 day
5.0 (53 reviews)
4.9
4.9

About the client

Flag of AUSTRALIA
perth, Australia
4.6
53
Payment method verified
Member since Feb 3, 2005

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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.