<?php $base = '/some/dir'; $path = 'foo/bar'; $protect = 'for'; $p1 = $base.'/'.$path; $p2 = $base.'/'.$protect; $result = strcmp($p1,$p2); echo "Result: ".$result; ?>
You have javascript disabled. You will not be able to edit any code.