Jump to content

php file header don't show up on IE6 - any thoughts on that?


arthemiogod

Recommended Posts

hi,

 

i have an index page with an <? include_once('header.inc.php'); ?>, yet, it doesn't show on IE 6 pc. - oh! the "header" file works fine on FF pc/mac.

 

in safari, the links in the the nav all link to the index page- this behavior only happens in safari though.

 

thx.

Arthemio  ???

Hi Arthemio,

 

I don't know if this will work, but in the tutorials I've been using, it's included at that top of the page, just after the first <?php tag.

 

like this:

<?php
session_start(); 
header("Cache-control: private"); //IE 6 Fix 
include_once ("config.php"); // database connection

 

hope that helps

ok. the header is showin, however, on top of it is a warnin message.

 

Warning: Cannot modify header information - headers already sent by (output started at /home/.castor/realestatearts/realestatearts.com/clients/prud/current/index.php:8) in /home/.castor/realestatearts/realestatearts.com/clients/prud/current/index.php on line 8

 

i get this message no matter where i put the "IE fix", in the index page or on the actual page that is to be enbeded. if only this warnin could disappear.

 

please let me know if you have any thoughts.

 

thx.

Arthemio  :-\

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.