Просмотр файла head.php

Размер файла: 1.62Kb
<?php
Error_Reporting(0);//не сообщать об ошибкаx

include("xxx/set.php");

echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>'.$title.'</title>';
echo '<link rel="stylesheet" href="/style.css" type="text/css"/>';
echo'</head><body>';
echo'<table width="100%" cellpadding="4" cellspacing="0" border="0" class="forumline">
<tr>
<td class="catSides" align="left">
<span class="cattitle">
'.$zag.'<br>
</span>
</td>
</tr></table><br>';

echo '<table width="100%" cellpadding="4" cellspacing="0" border="0" class="forumline">
<tr>
<td class="row1"><span class="genmed">';

$name=str_replace('&','', $name);
$name=str_replace('$','', $name);
$name=str_replace('<','', $name);
$name=str_replace('>','', $name);
$name=str_replace('~','', $name);
$name=str_replace('`','', $name);
$name=str_replace('#','', $name);
$name=str_replace('*','', $name);
$name=str_replace('%','', $name);
$name = addslashes(trim(htmlspecialchars(stripslashes(chop($name)))));


$password=str_replace('&','', $password);
$password=str_replace('$','', $password);
$password=str_replace('<','', $password);
$password=str_replace('>','', $password);
$password=str_replace('~','', $password);
$password=str_replace('`','', $password);
$password=str_replace('#','', $password);
$password=str_replace('*','', $password);
$password=str_replace('%','', $password);
$password = addslashes(trim(htmlspecialchars(stripslashes(chop($password)))));

$mail = addslashes(trim(htmlspecialchars(stripslashes(chop($mail)))));

?>