Server IP : 180.180.241.3 / Your IP : 216.73.216.127 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/umedia3/inc/pdf/afm.font/ |
Upload File : |
<?php //Generation of font definition file for tutorial 7 require('../font/makefont/makefont.php'); if ($handle = opendir('./step1_source/')) { echo "Directory handle: $handle\n"; echo "Files:<BR><HR>\n"; /* This is the correct way to loop over the directory. */ while (false !== ($file = readdir($handle))) { $t=split('\.',$file); if (strtoupper($t[count($t)-1])=="TTF") { echo "<B>".$t[count($t)-1]."</B>$file<BR>\n"; MakeFont("./step1_source/$file","./step1_source/$file.afm","cp874"); } } closedir($handle); } ?>