mozy contest: problem 5 PHP solution

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


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

<?

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




More information about the PLUG mailing list