PHP Classes

File: example.realpath.php

Recommend this page to a friend!
  Classes of Christian Vigh   PHP Path Windows and Linux Utilities   example.realpath.php   Download  
File: example.realpath.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Path Windows and Linux Utilities
Manage file and folder paths in Windows and Linux
Author: By
Last change:
Date: 7 years ago
Size: 279 bytes
 

Contents

Class file image Download
<?php
// Demonstrates the use of the Path::RealPath() method
require ( 'Path.phpclass' ) ;

$dirname = dirname ( __FILE__ ) ;

if (
php_sapi_name ( ) != 'cli' )
    echo
'<pre>' ;

echo (
"Fullpath of file example.php : " . Path::RealPath ( 'Path.phpclass', true ) ) ;