<?php $path = 'http://apache/www.posters.cz/js/default.js'; $stuff = ""; if(strpos($path, 'http://') !== false) { list($pre, $post) = split('[/.-]', $path); } var_dump($post);
You have javascript disabled. You will not be able to edit any code.