<?php $test = './toto.txt'; $directories = preg_split('#/#', $test); echo end($directories);
You have javascript disabled. You will not be able to edit any code.