PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Vagharshak Tozalakyan   Print Anything   test.php   Download  
File: test.php
Role: Auxiliary script
Content type: text/plain
Description: Example of external output (used by example.php)
Class: Print Anything
Make a browser print a given HTML document
Author: By
Last change:
Date: 16 years ago
Size: 1,065 bytes
 

Contents

Class file image Download
<?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="-1" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="distribution" content="global" />

<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="shortcut icon" href="favicon.ico" />

<title>Test Output</title>

</head>

<body onload="alert('sdsd');">

<h1>Test Output for PrintAnything Class</h1>

<?php
for ($i = 1; $i <= 100; $i++) {
    echo
'Line number <b>' . $i . '</b><br />';
}
?>

</body>

</html>