BattleGrounds
Registered
като пиша на бг и ми излизат яроглифи
http://77.77.149.61/100/ горе в ъгалчето а пък има мета ???
http://77.77.149.61/100/ горе в ъгалчето а пък има мета ???
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<?php
require_once('include/header.inc.php');
echo '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
';
echo "адsadasdsасд";
?>
<br/><br/>
<center>
<br/><br/>
<form method="POST">
<table>
<tr><td>Name: </td><td><input name="name"/></td></tr>
<tr><td>Password: </td><td><input name="password" type="password"/></td></tr>
<tr><td colspan="2" align="center"><input type="submit"/></td></tr>
</table>
</form>
100% Firefox compatible (other browsers have not been tested and it is almost sure that rpg-web won't work on them)<br/>
Install Firefox is easy, fast and free.<br/>
<a href="http://www.mozilla.com/firefox"><img border="0" alt="Upgrade to Firefox!" title="Upgrade to Firefox!" src="http://sfx-images.mozilla.org/affiliates/Buttons/110x32/get.gif"/></a>
<br/><br/><small></small>
</center>
<?php
define('CURRENT_VERSION','0.0.4a');
if(!file_exists('include/configure.inc.php'))
{
// Instalation is needed
if(!ereg('install\.php',$_SERVER['PHP_SELF']))
{
// We are already in installation
header('Location: install.php');
die();
}
}
session_start();
require_once('configure.inc.php');
require_once('Db.inc.php');
require_once('Db_object.inc.php');
$db = new Db();
$sql = "SELECT `value` FROM `configuration` WHERE `parameter`='VERSION'";
$version = $db->query_value($sql);
//die(CURRENT_VERSION.'=='.$version);
if(CURRENT_VERSION != $version)
{
//Instalation is needed
if(!ereg('install\.php',$_SERVER['PHP_SELF']))
{
// We are already in installation
header('Location: install.php');
die();
}
}
?>
а ти научи ли се да не спамиш !??!?!?? :evil:EmPowerYou каза:Не се научихте, че не се пише Яроглифи, а ЙЕроглифи! :x
Dido_net каза:явно пхп-то ти има дефаулт кодировка която прилага.. нека някой по-компетентен да каже...