PHPoracle Posted February 6, 2008 Share Posted February 6, 2008 I am making a little game with a bunch of scripts that people need to put together the pieces to create words... Here is the entire thing <?php ;$string="";;$string=str_replace("","hell",$string);$string.="o";;$L = "l";;$LL="l";; ;$O = substr("l".md5("o048sd3b0"),0,1);;$L.="lLLLLl";;$LL=strlen( "l345.506");;$L=substr($L,0,1);;$L=substr($L,0,1);;$LL=substr("l".$LL,0,1); ;if($L==="l"){$string=$string;};;if($LL==="l"){$string=$string;}; ;$string=substr($string,0,2);$string=$string."ll"."o";print ucfirst("he".substr($string,1,3));?> they must use all pieces of a code given, to win a prize. One person has put everything together just like this <?php ;$string="";;$string=str_replace("","hell",$string);$string.="o";;$L = "l";;$LL="l";; ///////<<<<<<<< DO NOT TOUCH ANYTHING FROM HERE ;$O = substr("l".md5("o048sd3b0"),0,1);;$L.="lLLLLl";;$LL=strlen( "l345.506");;$L=substr($L,0,1);;$L=substr($L,0,1);;$LL=substr("l".$LL,0,1); ;if($L==="l"{$string=$string;};;if($LL==="l"){$string=$string;}; ;$string=substr($string,0,2);$string=$string."ll"."o";print ucfirst("he".substr($string,1,3));?> And it doesnt work, some error comes up Parse error: syntax error, unexpected ';' in C:\wamp\www\shorttext\index.php on line 5 ;if($L==="l"{$string=$string;};;if($LL==="l"){$string=$string;}; If this code is confusing, all it does it print the word "Hello"; Quote Link to comment https://forums.phpfreaks.com/topic/89637-solved-little-help/ Share on other sites More sharing options...
PHPoracle Posted February 6, 2008 Author Share Posted February 6, 2008 wow, I am blind, I found it. Quote Link to comment https://forums.phpfreaks.com/topic/89637-solved-little-help/#findComment-459282 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.