Changeset 3191 for libcaca/trunk/caca-php/examples/www
- Timestamp:
- Nov 1, 2008, 7:42:16 PM (12 years ago)
- Location:
- libcaca/trunk/caca-php/examples/www
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/examples/www/figlet.php
r3189 r3191 9 9 <?php 10 10 /* 11 * fig font.php sample program for libcaca php binding11 * figlet.php sample program for libcaca php binding 12 12 * Copyright (c) 2008 Nicolas Vion <nico@yojik.eu> 13 13 * … … 48 48 } 49 49 50 $dir = opendir($path = "/usr/share/figlet/"); 50 $path = "/usr/share/figlet/"; 51 if (!is_dir($path)) { 52 die("can not open directory $path.\n"); 53 } 54 55 $dir = opendir($path); 51 56 while (($it = readdir($dir)) != false) { 52 57 if (is_file($path.$it) and ereg("\.[tf]lf$", $it)) {
Note: See TracChangeset
for help on using the changeset viewer.