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