Jump to content

[SOLVED] Little Help


PHPoracle

Recommended Posts

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";

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.