
Originally Posted by
Skizzerz
in your php script, add in the following at the very top (before anything else in the file):
PHP Code:
<?php header("Content-Type: text/html; charset=utf-8"); ?>
Hmm, I tried putting that on the top most page of the script, but it still doesn't work.
I got this message instead when I placed that code in the top of the coding...
PHP Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/bunnyp69/public_html/misaka/about.php:3) in /home/bunnyp69/public_html/misaka/header.php on line 1
Here's the original script. Note that these are 3 separate php files and are joined together with the require_once code
PHP Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>.:Electromaster - Mikoto Misaka Fanlisting:.</title>
<link rel="stylesheet" type="text/css" href="external.css">
<LINK REL="SHORTCUT ICON" href="favicon.ico">
</head>
<body>
<div id="maincontainer">
<div id="topsection"><img src="layoutbanner.png"><div class="innertube"></div></div>
<div id="navi"><center><p><a href="index.php">» Index</a> |
<a href="about.php">» About</a> |
<a href="list.php">» List</a> |
<a href="join.php">» Join</a> |
<a href="update.php">» Update</a> | <a href="codes.php">» Codes</a> |
<a href="extras.php">» Extras</a></p></center></div>
PHP Code:
<?php
require_once( 'header.php' );
?>
<div id="contentwrapper">
<div id="contentcolumn">
<div class="innertube"><p class="title">About Mikoto Misaka:</p>
<center><img src="styles.jpg">
<p><b>御坂美琴</b> <i>(Jap. Misaka Mikoto)</i><br>
Electromaster<br>
Level 5</p></center>
<p>She is one of the main characters for <i>Toaru Majutsu no Index</i> but she is given more focus in <i>Toaru Kagaku no Railgun</i>. She is a psychic user, which her powers are ranked Level 5, and is third strongest, in which seven other people hold this ranking. Her power is generating electricity which she uses to make instant railguns with using coins as projectiles and create a chainsword whip through attracting iron particles around her. She attends Tokiwadai Middle School, a famous girls' school in Academy City for the rich and elite psychics.<br><br>
She is very short-tempered and is a bit tomboyish, and has some insecurities (especially around Touma and people who call attention to how she likes childish things). She is often called "Onee-sama" by her roommate, Kuroko Shirai (who also happens to be totally obsessed with her), as well as her Imoutos. Her other aliases are "Railgun" (her specialty), and Biri-biri (a nickname Touma gave to her due to the sound of electricity Mikoto makes). She also has an obsession for Gekota, a frog mascot that suffers from motion sickness easily and cries out "Geko, Geko", as well as anything childishly cute.</p>
<p><b>Toaru Majutsu no Index</b><br>
...<i>(とある魔術の禁書目録(インデックス), lit. A Certain Magical Index)</i> is a Japanese light novel series written by Kazuma Kamachi and illustrated by Kiyotaka Haimura; the series is published by ASCII Media Works under their Dengeki Bunko imprint. Set in a city of scientifically advanced superhuman students, but in a world where magic is also real. The series was made into an anime and aired between October 2008 to March 2009, containing twenty-four episodes.</p>
<p><b>Toaru Kagaku no Railgun</b><br>
...<i>(とある科学の超電磁砲(レールガン) lit. A Certain Scientific Railgun)</i> is a manga series spin-off of the Toaru Majutsu no Index light novel, written and illustrated by Motoi Fuyukawa. It is published in Dengeki Daioh, started since March 2007. Its current anime adaptation from J.C.STAFF airs every Friday night starting October 2009 on Tokyo MX.</p>
<p class="refe"<b>Reference:</b> <i><a href="http://en.wikipedia.org/wiki/Toaru_Majutsu_no_Index" target="_blank"> Wikipedia</a></i></p>
</div>
</div>
</div>
<?php
require_once( 'footer.php' );
?>
PHP Code:
<div id="footer"><p class="disclaimer"><i>Toaru Majutsu no Index, Toaru Kagaku no Railgun, Mikoto Misaka and all related characters<br> (c) MEDIAWORKS/Kazuma Kamichi/Kiyotaka Haimura/Motoi Fuyukawa.<br> All content in this site are meant for fanlisting purposes, and such, only the graphics and layout of the site is by</i> <b class="disclaimer">Avegaille</b>.</p></div>
</div>
</body>
</html>
(and also, I can see the Jap text in this forum too... weird)