maybe I've missed a point on the use of substr() but whenever I'm calling it, my script ends -
<?
.....script
$data=substr($file, $startpos+25, $length);
echo "The returned data: $data";
echo "I'm as thick as two short planks";
?>
Needless to say, $data is printed as it should, but the derogatory statement at me isn't.
Did I miss something?