example.displayCode.php
Gesponsorde koppelingen
PHP script bestanden
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/* *
* Include class
*/
require_once('class.displayCode.php');
/* *
* Path you want to display
*/
$path = realpath( dirname(__FILE__).'/..').'/test/';
/* *
* Initialize class
*/
$displayCode = new displayCode();
/* *
* Display code by path
*/
$displayCode->displayCodeByPath($path);
?>
/* *
* Include class
*/
require_once('class.displayCode.php');
/* *
* Path you want to display
*/
$path = realpath( dirname(__FILE__).'/..').'/test/';
/* *
* Initialize class
*/
$displayCode = new displayCode();
/* *
* Display code by path
*/
$displayCode->displayCodeByPath($path);
?>