Changeset 187 for test/buttons/button.php
- Timestamp:
- Jan 1, 2008, 2:56:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/buttons/button.php
r123 r187 1 <? 1 <?php 2 2 include('code.php'); 3 3 … … 10 10 11 11 if(array_key_exists('text', $_GET)) $Text = $_GET['text']; 12 else $Text = ' None';12 else $Text = 'Tabulka cti'; 13 13 14 $FontFile = 'FRIZQT__. TTF';14 $FontFile = 'FRIZQT__.ttf'; 15 15 //$FontFile = 'c:\WINDOWS\fonts\arial.ttf'; 16 16 $FontSize = 20; … … 44 44 $PositionX += $SizeX[$I] / 2; 45 45 } 46 46 47 $Image2 = ImageCreateTrueColor(125, 27); 47 48 imagecopyresampled($Image2, $Image, 0, 0, 0, 0, imagesx($Image2), imagesy($Image2), imagesx($Image), imagesy($Image)); 49 50 48 51 49 52 header("Content-type: image/jpeg"); … … 51 54 ImageDestroy($Image); 52 55 ImageDestroy($Image2); 56 53 57 ?>
Note:
See TracChangeset
for help on using the changeset viewer.