<?php $path = "/some/directory/../../etc/passwd"; $path = str_replace(['../', '..'], '', $path); echo $path; // Any '..' here?
You have javascript disabled. You will not be able to edit any code.