lang="en-US"> filename –  Design1online.com, LLC

Tagged: filename

2

PHP Tutorial: Get Filename From Domain Path

<?php /**** * Purpose: get the filename from the path * Precondition: path i.e. http://domain.com/contacts.php * Postcondition: returns the filename i.e. contacts.php ****/ function fileName($path) { return substr($path, strrpos($path, ‘/’)+1, strlen($path)); } ?> Programming...