( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/elementsMachine/box.php
<?php
require  'textStyles/texttoImage.php';
 
$obj = new TextToImage();
$obj->setText("Wonder how could you insert line breaks, or make your string wrappable when you are creating images on the fly in php. I bet before you hopped in here, you must have tried inserting Wonder how could you insert line breaks, or make your string wrappable when you are creating images on the fly in php. I bet before you hopped in here, you must have tried inserting Wonder how could you insert line breaks, or make your string wrappable when you are creating images on the fly in php. I bet before you hopped in here, you must have tried inserting Wonder how could you insert line breaks, or make your string wrappable when you are creating images on the fly in php. I bet before you hopped in here, you must have tried inserting");
$obj->setFontSize(18);
$obj->setLineHeight(20);
$obj->setFontFile("../assets/fonts/HelveticaNeueLTStd-Ex.otf");
$obj->setUnderline(0);
$obj->setPadding(15);
$obj->setHAlignment("center"); // left, right, center
$obj->setWidth(600);
$obj->setHeight(0); //0 for auto
$obj->setFontColor('#ffffff'); // Hash value
$obj->setBackgroundColor('transparent'); // Hash value
$obj->draw();
?>