<?php $path = 'www.example.com/public_html/index.php'; $file_name = substr(strrchr($path, "/"), 1); echo $file_name; // "index.php" ?>
You have javascript disabled. You will not be able to edit any code.