ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] cvs: phpdoc /fr/functions filesystem.xml
by Damien Seguy other posts by this author
Apr 3 2001 1:23PM messages near this date
[PHP-DOC] cvs: phpdoc /fr/functions exec.xml | [PHP-DOC] cvs: phpdoc /fr/functions uodbc.xml
dams		Tue Apr  3 06:23:17 2001 EDT

  Modified files:              
    /phpdoc/fr/functions	filesystem.xml 
  Log:
  Keeping up with en tree.
  
Index: phpdoc/fr/functions/filesystem.xml
diff -u phpdoc/fr/functions/filesystem.xml:1.18 phpdoc/fr/functions/filesystem.xml:1.19
--- phpdoc/fr/functions/filesystem.xml:1.18	Tue Mar 27 03:02:14 2001
+++ phpdoc/fr/functions/filesystem.xml	Tue Apr  3 06:23:17 2001
@@ -2158,6 +2158,60 @@
     </para> 
    </refsect1> 
   </refentry> 
+  <refentry id="function.pathinfo"> 
+   <refnamediv> 
+    <refname> pathinfo</refname>
+    <refpurpose> Retourne des informations sur un chemin systme</refpurpose>
+   </refnamediv> 
+   <refsect1> 
+    <title> Description</title>
+    <funcsynopsis> 
+     <funcprototype> 
+      <funcdef> array <function>pathinfo</function></funcdef>
+      <paramdef> string <parameter>path</parameter></paramdef>
+     </funcprototype> 
+    </funcsynopsis> 
+    <para> 
+     <function> pathinfo</function> retourne un tableau associatif,
+     contenant les informations sur le chemin <parameter> path</parameter>.
+     Les ŽlŽments de tableau suivants sont retournŽs : 
+     <parameter> dirname</parameter>, <parameter>basename</parameter>
+     et <parameter> extension</parameter>.
+    </para> 
+    <para> 
+     <example> 
+      <title> Exemple avec <function>pathinfo</function></title>
+      <programlisting role="php"> 
+&lt;?php
+
+$path_parts = pathinfo("/www/htdocs/index.html");
+
+echo $path_parts["dirname"] . "\n";
+echo $path_parts["basename"] . "\n";
+echo $path_parts["extension"] . "\n";
+
+?&gt;
+      </programlisting> 
+     </example> 
+    </para> 
+    <para> 
+     Va afficher : 
+     <informalexample> 
+      <programlisting> 
+/www/htdocs
+index.html
+html
+      </programlisting> 
+     </informalexample> 
+    </para> 
+    <para> 
+     Voir aussi 
+     <function> dirname</function>,
+     <function> basename</function> et
+     <function> realpath</function>.
+    </para> 
+   </refsect1> 
+  </refentry> 
   <refentry id="function.pclose"> 
    <refnamediv> 
     <refname> pclose</refname>

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved