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

  • BigDawsVlogs

    BigDawsVlogs

    17 HAZİRAN 2013
  • dcigs

    dcigs

    9 EYLÜL 2006
  • Phlearn Photoshop and Photography Tutorials

    Phlearn Phot

    11 EKİM 2011