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