fork download
  1. <?php
  2. /**
  3.  * @author adewasco2k
  4.  * @copyright 2013
  5.  */
  6. $a= "$`_POST['string1']";
  7. $b= "$`_GET['key']";
  8. //$answer="$_POST$[_'GsEtTr[i'nkge1y'']]";
  9. $answer=""; //empty string to hold our answer
  10. $x=0;
  11. $strtest= strlen($a)>= strlen($b) ? $a : $b; //check which is longer in lenght
  12. for($i=0;$i<strlen($strtest); $i++)
  13. {
  14. if($i<=6) // this is to get the first $_POST
  15. {
  16. $answer.=$a[$i];
  17. }else // now we got $_POST lets mix the string
  18. {
  19. $answer.=$b[$x];
  20. $answer.=$a[$i];
  21. $x++;
  22. }
  23. }
  24. echo $answer;
  25. ?>
Success #stdin #stdout 0.01s 20520KB
stdin
Standard input is empty
stdout
$`_POST$[`'_sGtErTi[n'gk1e'y]