<?php $path = '/www/public_html/index.html'; $filename = substr(0, strrpos($path, "/")); echo $filename; // "index.html" ?>
You have javascript disabled. You will not be able to edit any code.