PHP - include(); makes blank line -


hey when add include file @ tag creates blank line (grey) : http://puu.sh/40mvi notice: have seen few questions didn't helped me.

<?php require("connection/mysql.php"); ?> <?php @session_start(); ?> <?php if(!isset($_session["language"])) {     header("location: ./language/index.php"); } else {     include("./language/".$_session["language"]); } ?> <?php if ( isset($_session["bay_username"]) ) { header('location: account/'); }?> <!doctype html> 

language file

<?php  // noconnect $lg["ncon_header"]                  = "bayyak powered sunucularına şu bağlanılamıyor."; $lg["ncon_text"]                    = "lütfen biraz sonra tekrar deneyiniz. en yakın zamanda sorunu çözeceğiz. İnternet bağlantılarınızı kontrol ediniz. diğer aygıtlarda da aynı hatayı alıyorsanız lütfen <em>error@bayyakpowered.com</em> adresine bu sorunu bildirin.";  ?> 

do following:

open php file in notepad++, go format -> utf-8 (without bom)

for reason, php files utf-8 (with bom) generate blank line.

i advise convert php files.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -