Attila Posted September 5, 2008 Share Posted September 5, 2008 Having a probelm finding an extra character in all of my webpages. I beleive it is in what I call the header.php but I have provided one of the main pages as well just in case it is in all of them. If someone could find the extra ?> it would be much appreciated. You can see what I am talking about by going here and looking in the top left corner: http://www.thaczero.com/ Thanks in advanced. The main page <? // start the session session_start(); ob_start(); include ('includes/allfunctions.php'); header("Cache-control: private"); //IE 6 Fix ?> <title>THAC0 (To Hit Armor Class Zero)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="CSS/style.css" rel="stylesheet" type="text/css"> <body bgcolor="#000000" text="#CCCCCC"> <div> <? include ('includes/thacoheader.php'); ?> <table> <tr> <td height="500">To Hit Armor Class Zero... That is our goal.<BR> <BR> Welcome to the official website of THAC0! (Yes, that is spelled with a zero.)<BR> <BR> THAC0 operates on the Ghallanda server of Dungeons & Dragons Online. We are primarily a social guild, and although our officers are known to be online at various hours most of them play primarily in the evenings. Our guild name is a reflection of the 'old school' pen-and-paper roots of our founding members.<BR> <BR> Our membership includes players from Canada, the US, and Australia and we are always looking for good people to join. Although we are primarily a social guild, we are not above forming raid parties and hosting guild runs for some of the more difficult quests. You will find all of our members helpful and encouraging for both new players and old. Whether you need advice on quests, character builds, or just have general questions about DDO, you will always find our officers and senior members helpful and (usually!) well versed in the world of Ebberon.<BR> <BR> All of our players are dedicated to having fun, helping one another, and fostering our founding philosophy of cooperation and support. In THAC0 we believe you can take any person and make them into a good player, and that's why we only recruit good people who are willing to work with everyone else to improve both themselves and the whole team.<BR> <BR> If you are interested in joining THAC0 or have questions about the BEST GUILD EVER please locate one of our officers online or leave us a post on this site.<BR> <BR> Bronko Lawbringer<BR> Officer, Founder, and Official Meat Shield™ for THAC0<BR> </td> </tr> </table> <? include ('includes/thacofooter.php')?> The include header file. <link href="../CSS/style.css" rel="stylesheet" type="text/css" /> <div align="center"> <table bgcolor="#000000"> <tr> <td> <div align="center"><img src="../Pictures/header.gif" alt="THACO" width="850" height="200" /></div> <p align="center"> <span class="searchnotes">| <a href="index.php">Home</a> | <a href="items.php">DDO Item Database</a> | <a href="apply.php">Apply to Thaco</a> | <a href="../forums/index.php">Forums</a> | </span></td> </tr> </table> </div> The include footer file: <link href="../CSS/style.css" rel="stylesheet" type="text/css" /> <div align="left" class="footer"><font size="-1">Web Design by <a href="mailto:[email protected]">Tarman Thaco</a> <br> Copyright © 2008-2009 DDO Items. All Rights Reserved. </font><br> </div> Link to comment https://forums.phpfreaks.com/topic/122834-solved-unable-to-find-extra-character/ Share on other sites More sharing options...
genericnumber1 Posted September 5, 2008 Share Posted September 5, 2008 did you check the allfunctions.php file? Link to comment https://forums.phpfreaks.com/topic/122834-solved-unable-to-find-extra-character/#findComment-634338 Share on other sites More sharing options...
ranjuvs Posted September 5, 2008 Share Posted September 5, 2008 If see your source <title>THAC0 (To Hit Armor Class Zero)</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body bgcolor="#000000" text="#cccccc">?> <link href="CSS/style.css" rel="stylesheet" type="text/css"> <div> <link href="../CSS/style.css" rel="stylesheet" type="text/css"> <div align="center"> there are some additional lines that is getting attached ?> <link href="CSS/style.css" rel="stylesheet" type="text/css"> kindly check where it is coming from Link to comment https://forums.phpfreaks.com/topic/122834-solved-unable-to-find-extra-character/#findComment-634339 Share on other sites More sharing options...
genericnumber1 Posted September 5, 2008 Share Posted September 5, 2008 ?> ^ that is what you want to look for Link to comment https://forums.phpfreaks.com/topic/122834-solved-unable-to-find-extra-character/#findComment-634341 Share on other sites More sharing options...
Scooby08 Posted September 5, 2008 Share Posted September 5, 2008 this line maybe?? <? include ('includes/thacofooter.php')?> needs a semi-colon?? <? include ('includes/thacofooter.php');?> Link to comment https://forums.phpfreaks.com/topic/122834-solved-unable-to-find-extra-character/#findComment-634342 Share on other sites More sharing options...
genericnumber1 Posted September 5, 2008 Share Posted September 5, 2008 this line maybe?? <? include ('includes/thacofooter.php')?> needs a semi-colon?? <? include ('includes/thacofooter.php');?> nah Link to comment https://forums.phpfreaks.com/topic/122834-solved-unable-to-find-extra-character/#findComment-634343 Share on other sites More sharing options...
ranjuvs Posted September 5, 2008 Share Posted September 5, 2008 ?> ^ that is what you want to look for yes plus this too <link href="CSS/style.css" rel="stylesheet" type="text/css"> Link to comment https://forums.phpfreaks.com/topic/122834-solved-unable-to-find-extra-character/#findComment-634346 Share on other sites More sharing options...
Attila Posted September 5, 2008 Author Share Posted September 5, 2008 WOW I neverthought of looking in the functions I didn't think it would carry over like that. genericnumber1 I had an extra ?> at the end of it thanks for your quick help and repsonses all. Link to comment https://forums.phpfreaks.com/topic/122834-solved-unable-to-find-extra-character/#findComment-634347 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.