PHP Classes

File: test_fb.php

Recommend this page to a friend!
  Classes of Asher Wolfstein   Filebase   test_fb.php   Download  
File: test_fb.php
Role: Example script
Content type: text/plain
Description: Test / Example Script
Class: Filebase
Retrieve server OS, sapi, and paths info (3.x+)
Author: By
Last change:
Date: 17 years ago
Size: 637 bytes
 

Contents

Class file image Download
<?php

/* Filebase Class Test File
 * Written by Asher Holley ( http://www.wolfoxinc.com/opensource/ )
 * Released under the GNU General Public License ( http://www.opensource.org/licenses/gpl-license.html )
 *
 * File that tests and shows Filebase's capabilities.
 *
 * Copyright © 2006 Asher Holley */

require_once( 'filebase.class.php' );
// require_once( 'filebase.class5.php' ); // For PHP 5 Users

echo "OS: " . Filebase::os() . "\n"; // 'win' for Windows, else nothing
echo "ROOT: " . Filebase::root() . "\n";
echo
"APP_PATH: " . Filebase::app_path() . "\n";
echo
"INC_PATH: " . Filebase::inc_path() . "\n";

?>