Jump to content
php.lv forumi

Neiet UTF-8, t.i nerādas garumzīmes!


drakelv

Recommended Posts

<?require ("cfg.php") ?>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<? echo $charset; ?>">

<title><? echo $lapastitls; ?></title>

</head>

<?

$cepumsuser = $_COOKIE["user"];

$cepumspw = $_COOKIE["password"];

if (!isset($cepumsuser)) {

echo '

<body>

<form action="login.php" method="post">

Lietotājs: <input type="text" name="user">

<br />

Parole:    <input type="password" name="password">

<br />

<input type="submit" value="Ienākt"/>

</form>';

} else {

echo "Sveicināts atpakaļ $cepumsuser";

}

 

?>

</body>

</html>

vis bija labi lidz pievienoju style.css, tagad vinju nonemu bet garumzimes tikuntaa neradas, radas tikai kvadraati! Ko dariit?

Link to comment
Share on other sites

ir tā kad es nomainu nosaukumu uz index11.php un garumzimes strada, nomainu uz index.php uzreiz nestrada..

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8'">

<title>Sveicinᳳ M�rojektަcopy; 2007-2008 </title>

</head>

Sveicinᳳ atpakaퟓ test118<br />Lapa Shodien Apmekl泡 1 Reizes !</body>

</html>

Edited by drakelv
Link to comment
Share on other sites

×
×
  • Create New...