source: branches/2.2/filemanager/tp/dompdf/www/test/php_test.php @ 3019

Revision 3019, 818 bytes checked in by amuller, 14 years ago (diff)

Ticket #1135 - Corrigindo CSS e adicionando filemanager

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
5<title></title>
6</head>
7
8<body>
9
10<?php
11echo "<p>Here's some dynamically generated text and some random circles...</p>";
12?>
13
14<script type="text/php">
15$max_x = $pdf->get_width() - 50;
16$max_y = $pdf->get_height() - 50;
17for ( $i = 0; $i < 30; $i++) {
18  $pdf->circle(rand(50, $max_x), rand(50, $max_y), rand(10, 70),
19               array(rand()/getrandmax(), rand()/getrandmax(), rand()/getrandmax()),
20               rand(1,40));
21}
22</script>
23<?php
24echo "<p>Current PHP version: " . phpversion() . ".  ";
25echo "Today is " . strftime("%A") . " the " . strftime("%e").date("S").strftime(" of %B, %Y %T") . "</p>";
26
27?>
28</body> </html>
Note: See TracBrowser for help on using the repository browser.