HEX
Server: Apache
System: Linux vps8051.dx3webs.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: paiskincare (10000)
PHP: 5.6.40-52+ubuntu20.04.1+deb.sury.org+1
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/paiskincare.com/httpdocs/hello_zend.php
<?php
require_once 'Zend/Pdf.php';
 
/* create a new pdf document */
$pdf = new Zend_Pdf();
 
/* create a page */
$page = new Zend_Pdf_Page(Zend_Pdf_Page::SIZE_LETTER_LANDSCAPE);
 
/* setup font */
$font = Zend_Pdf_Font::fontWithName(Zend_Pdf_Font::FONT_HELVETICA);
 
/* write text to page */
$page->setFont($font, 48);
$page->drawText('Hello, World!', 250, 500);
 
/* add page to document */
$pdf->pages[] = $page;
 
/* save pdf */
$pdf->save('hello.pdf');
?>