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

  • Blunty

    Blunty

    13 Mart 2006
  • Gigawipf

    Gigawipf

    18 ŞUBAT 2010
  • guillaume2111's channel

    guillaume211

    19 Kasım 2006