thealexangroup Posted January 22, 2014 Share Posted January 22, 2014 anyone wanna try their hand at this error showing up on my page at:http://foolproofprofits.com/fbm-kpop/fbm-kpop.php?i=2hLXYdvh2-A~Jan2014&t=Kpop-World-Festival-2012-Kpop--2012-Part-2 "Deprecated: Function split() is deprecated in /home/thealexa/public_html/foolproofprofits.com/fbm-kpop/fbm-kpop.php on line 274" 271- $l66 = ""; 272- foreach ($l49 as $l51 => $l67) 273- { 274- list($l68,$l58,$l59,$l60) = split("\|", $l67, 4); 275- if($l31 == $l68){ 276- $l53 = "http://www.youtube.com/watch?v=" . $l68; 277- $l54 = "http://" . $l59; 278- $l62 = str_replace("\n", "", $l60); 279- $Ticker = "<sc"."ript type=\"text/jav"."asc"."ript\" src=\"$l50?i=t"."kr\"></sc"."ript>"; 280- $l10 = "<sc"."ript type=\"text/jav"."asc"."ript\" src=\"bookmark.js\"></sc"."ript>"; 281- $l21 = file_get_contents($l20); 282- $l21 = str_replace("%%TITLE%%", $l58, $l21); 283- $l21 = str_replace("%%IMAGE%%", $l54, $l21); thanx a bunch in advance,alex Link to comment https://forums.phpfreaks.com/topic/285569-need-help-with-deprecated-error/ Share on other sites More sharing options...
requinix Posted January 22, 2014 Share Posted January 22, 2014 Was that obfuscated code you're trying to unravel? Shouldn't you be modifying the original source? Link to comment https://forums.phpfreaks.com/topic/285569-need-help-with-deprecated-error/#findComment-1466114 Share on other sites More sharing options...
Mace Posted January 22, 2014 Share Posted January 22, 2014 if you don't have the original source, replace split with preg_split . Link to comment https://forums.phpfreaks.com/topic/285569-need-help-with-deprecated-error/#findComment-1466128 Share on other sites More sharing options...
Ch0cu3r Posted January 22, 2014 Share Posted January 22, 2014 Or use explode list($l68,$l58,$l59,$l60) = explode("|", $l67, 4); Link to comment https://forums.phpfreaks.com/topic/285569-need-help-with-deprecated-error/#findComment-1466156 Share on other sites More sharing options...
thealexangroup Posted January 26, 2014 Author Share Posted January 26, 2014 cool. the 'explode' solution did the trick for me. thanx all for your replies. much appreciated. a. Link to comment https://forums.phpfreaks.com/topic/285569-need-help-with-deprecated-error/#findComment-1466583 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.