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

Tagged: domain

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...