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

 Web Hosting

 Virtual Dedicated Servers

 Chequeo de dominio

 Haga su pedido

 Estado del pedido

 Support

 Contáctenos

 Download

 Network

 Network Status

 Webdesign / Templates

 Efectuar pago

 Terms & Conditions

 Imprimir

 Notas Legales

 Declaración de Privacidad
  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.