SORU
13 EYLÜL 2009, Pazar


Nasıl PHP ile tam yol, dosya adını almak için?

Output.map . nasıl örneğin,

dan

F:\Program Files\SSH Communications Security\SSH Secure Shell\Output.map

PHP ile?

CEVAP
13 EYLÜL 2009, Pazar


basename arıyoruz.

PHP manuel örnek:

<?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"
?>

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • atKristaBradford

    atKristaBrad

    4 Aralık 2010
  • ibebrent

    ibebrent

    23 Temmuz 2007
  • TheXiaxue

    TheXiaxue

    3 AĞUSTOS 2009