mozy contest: problem 5 PHP solution

Nicholas Leippe nick at
Mon Nov 6 10:03:33 MST 2006

The 5th problem (the one that was thrown out) was to simply connect to and echo out the 13485th byte as an ascii character.


$s = fsockopen("", 8787);
fread($s, 13484);
$ch = fread($s, 1);
echo chr($ch);

More information about the PLUG mailing list