Gold Vision Communications / USA
 GOLDVISION.COM
Serving the Multimedia Community since 1989.
German Site | Spanish Site 

 Web Hosting

 Virtual Dedicated Servers

 Domaincheck

 Order

 Order Status

 Support

 Contact us

 Download

 Network

 Network Status

 Webdesign / Templates

 Make Payment

 Terms & Conditions

 Imprint

 Legal Notices

 Privacy Statement
  PHP / realpath
realpath

realpath

(PHP 4 )

realpath -- Erzeugt einen kanonisch absoluten Pfadnamen

Beschreibung

string realpath ( string path)

realpath() expandiert alle symbolischen Links, und beseitigt Verweise zu '/./', '/../' und extra '/' Zeichen im Input path, und gibt den absoluten Pfadnamen kanonisch zurück. Der Pfad im Ergebnis enthält keine Komponenten eines symbolischen Links mehr, wie '/./' or '/../'.

realpath() gibt im Fehlerfall FALSE zurück, z.B. wenn die Datei nicht existiert.

Beispiel 1. realpath()

$real_path = realpath("../../index.php");

Siehe auch: basename(), dirname() und pathinfo().


© 1998-2007 Gold Vision Communications All Rights Reserved.