例如,我如何获得Output.map
分
from
F:\Program Files\SSH Communications Security\SSH Secure Shell\Output.map
用PHP?
例如,我如何获得Output.map
分
from
F:\Program Files\SSH Communications Security\SSH Secure Shell\Output.map
用PHP?
你在找basename
个.
PHP手册中的示例如下:
<?php
$path = "/home/httpd/html/index.php";
$file = basename($path); // $file is set to "index.php"
$file = basename($path, ".php"); // $file is set to "index"
?>