Devam Ediyor

485740 php4 to php5 issue

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/[url removed, login to view] 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.

Beceriler: Her şey Kabul, PHP

Daha fazlasını görün: php5.0, id to code, use string offset, php fatal error use string offset array, php use string offset array, use string offset array php, server issue, php fatal error use string offset, use string offset array, global error, fatal error use string offset array, string array, issue fix error, php5 login system, array string, lib code, home xxx, php5, php4, global php5, php4 code php5 code, fix php5, fix string php, lib php, code php4

İşveren Hakkında:
( 53 değerlendirme ) perth, Australia

Proje NO: #2231650

Seçilen:

bihpsl

Details in PM.

0 gün içinde 15$ USD
(53 Değerlendirme)
4.9