Dynadot — .com Registration $8.99

Weird Symbol Things

Spacemail by SpaceshipSpacemail by Spaceship
Watch

iNod

Eating PieVIP Member
Impact
66
Hello,

For some reason I am getting �� on my page. See http://profilepeep.com/stats/login.php

The source for the footer.php (the file causing the problem) is all HTML and I even tried switching it to a tpl and it still gives that problem. Which says there is another problem. The login.php (template) is also all html. the PHP login file (one you se when you go to the site) is just a simple php file

Source:
PHP:
<?php
session_start();
// Include config
// REMOVED

// Check login or go to homepage or display error
// REMOVED BECAUSE OF SECURITY
  if(@mysql_num_rows($check) == 0) {
    $error = "Error username or password is not correct, try again.<br>";
    // GET HEADER
    include("templates/header.php");
    // GET PAGE
    include("templates/login.php");
    // GET FOOTER
    include("templates/footer.php");
    die();
  }else{
  $row = mysql_fetch_array($check);
// REMOVED SESSIONS FOR SECURITY
    header("location: show.php");
  }
}else{
    // GET HEADER
    include("templates/header.php");
    // GET PAGE
    include("templates/login.php");
    // GET FOOTER
    include("templates/footer.php");
}
?>

Anyone see any problems or know what those ?? mean?

- Steve
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
Bom??

Are you going to save your file format as unicode characters (UTF-8) for footer.php?

Don't add BOM (Byte Order Mark) on your header and try saving as UTF-8N.
 
0
•••
Weird..

Anyways.. I randomally opened it up and saved in notty. And not it works.

- Steve
 
0
•••
It seems like working fine. The reason currently working fine is you removed charset from metatag. Your former metatag charset was iso-8859-1 and file format was UTF-8.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back