Hi,
I am working on some php based job. When I am accessing the pages from the same system (localhost) using IE, its work fine. But when I am trying to open the pages from a remote system using IE, the php part is not displaying. But Firefox is giving no trouble in both cases. Please help.

Here is my index page .....................

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>

<title>BIMS ver 2.0</title>

<meta name="Keywords" content="" />

<meta name="Description" content="" />

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<meta http-equiv="Content-Language" content="en-ie" />

<meta name="robots" content="all" />

<meta name="MSSmartTagsPreventParsing" content="true" />

<meta http-equiv="imagetoolbar" content="no" />

<meta name="copyright" content="Copyright (c) 2011 Anirban Ghosh" />

<meta name="author" content="" />

<meta name="Rating" content="General" />

<link rel="shortcut icon" href="" type="image/x-icon" />

<link rel="stylesheet" type="text/css" media="all" href="css/glob_nav.css" />

<link rel="stylesheet" type="text/css" media="all" href="css/template.css" />

</head>

<body bgcolor="#f0f0f0">

<div id="header">

<?php

include('login_top.php');

?>

</div>





<div id="body">

<div id="container">



<?php include('login_side.php'); ?>

<span id="sep"></span>

<div id="mainContent">



</div>

<br class="clearfloat" />

<div id="footer">

    <p>Copyright &copy; Anirban Ghosh</p>

 </div>

</div>

</div>

</body>

</html>

Recommended Answers

All 5 Replies

Member Avatar for diafol

Unlikely to be your php. More likely to be a js or css issue.

Then what to do?

Member Avatar for diafol

Unless you show your code (php) and possibly css, how on earth are we supposed to know what's going on?

Here is my css files
THE glob_nav.css file looks like

#info {position:relative;}
p.bold {padding-left:15px; color:#c00;}
a.linkup {position:relative;}
a.buttonup {position:absolute; top:200px; left:650px; border:0;}
a.buttonup img {border:0;}
.gleft {float:left; margin:25px 0 10px 0;}
.gright {float:right; margin:25px 5px 10px 0;}
.grc {margin:20px 0 0 10px;}


.menu {
	width:100%; 
	height:26px; 
	font-size:0.85em; 
	position:relative; 
	z-index:100;
	background:url(images/glob_nav_bg.gif) center center repeat-x;
}

/* hack to correct IE5.5 faulty box model */
* html .menu {
	width:100%; 
	w\idth:100%;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
}

.menu ul ul {
	width:149px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float:left;
	position:relative;
}

/* style the links for the top level */
.menu a {
	display:block;
	font-size:11px;
	text-decoration:none; 
	color:#ffffff; 
	width:100px; 
	height:26px; 
	border-left: 1px solid #036;
	/*border-width:1px 0 1px 1px; 
	background:#fff url(images/glob_nav_hov.gif) center center repeat-x; */
	padding-left:10px; 
	line-height:26px;
}

/*.menu a:visited{}*/

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	width:149px; 
	w\idth:138px;
	color:#fff;
	}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	background:#000 url(drop.gif) bottom right no-repeat;
}

/* style the second level hover */
.menu ul ul a.drop:hover{
	background:#c9ba65 
	url(drop.gif) bottom right no-repeat;
}

.menu ul ul :hover > a.drop {
	background:#c9ba65 url(drop.gif) bottom right no-repeat;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background:#666666;
	}
/* style the third level hover */
.menu ul ul ul a:hover {
	background:#666666;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:26px;
	left:0; 
	width:149px;
	border-top:1px solid #000;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top:25px;
	t\op:26px;
}

/* position the third level flyout menu */
.menu ul ul ul{
	left:149px; 
	top:-1px; 
	width:149px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left:-149px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {
	position:absolute; 
	top:0; 
	left:0; 
	border-collapse:collapse;

}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background:#666666;
	color:#fff; 
	height:auto; 
	line-height:1em; 
	padding:5px 10px; 
	width:128px;
	border-width:0 1px 1px 1px;
}

/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
	width:150px;
	w\idth:128px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
	color:#fff; 
	background:url(images/glob_nav_hov.gif) center center repeat-x;
}

.menu :hover > a, .menu ul ul :hover > a {
	color:#ED1B24;
	background:url(images/glob_nav_hov.gif) center center repeat-x;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}

.menu {
	font-family: Arial, Helvetica, sans-serif;
}

THE template.css file looks

@charset "utf-8";
/* CSS Document */

#header{
	background:#ED1B24;
	width: 100%;
	height:120px;
	color:#f1f1f1;
	font-family:"Arial";
	border-bottom:1px solid #000;
}
#header p{
	padding-left:5px;
	font-family:"Verdana";
	font-weight:bold;
	font-size:35px;
}
#text{
	color:#ffffff;
	background-color:#7B7978;
}
#log_details{
	text-align:right;
	padding-left:500px;
	padding-top:-150px;
	font-size:13px;
}
#body{
	background:#7B7978;
	width: 100%;
	height: 100%;
	font-family:"Arial";
}
#container { 
	width: 100%;
	background: #f1f1f1;
	text-align: justify;
	vertical-align:top;
} 
#sidebar1 {
	float: left; 
	width: 21%; 
	height:100%;
	background: #7B7978;
	color:#ffffff;
	margin-top:0px;
	vertical-align:center;
	border: 0px dotted #fff;
	padding: 0px;
}
#sidebar2 {
	float: right;
	width: 21%;
	height:150px;
	background: #7B7978;
	color:#ffffff;
	border: 0px dotted #fff;
	padding: 0px;
}
#sidebar1 p,  #sidebar1 h3, #sidebar2 p,  #sidebar2 h3 {
	margin-left: 10px;
	margin-right: 10px;
}
#mainContent { 
	margin-right:24%;
	margin-left:23.5%;
	margin-top:3px;
	background: ../images/cand_cpim.jpg;
}
#footer { 
	padding: 0 10px; 
	background:#ED1B24;
	color:#ffffff;
} 
#footer p {
	margin: 0;
	padding: 10px 0;
}
#button {
	margin:0;
	width:auto;
	height:auto;
	color:#FFFFFF;
	border: 1px solid #000;
	background:url('images/glob_nav_bg.gif') repeat-x;
	padding:4px;
	cursor:pointer;
	cursor:hand;
}
#button:hover {
	margin:0;
	width:auto;
	height:auto;
	color:#FFFFFF;
	border: 1px solid #000;
	background:url('images/glob_nav_hov.gif') center center repeat-x;
	padding:4px;
	cursor:pointer;
	cursor:hand;
}
#link{
	color:#f2f2f2;
	text-decoration:none;
}
#link:hover{
	color:#ffffff;
	text-decoration:underline;
}
#registration_form{
	display:block;
	background-color: #7B7978;
	color:#FFFFFF;
	font-family:Arial;
	font-size:12px;
}
#registration_form h1{
	display:block;
	font-family:Arial;
	font-size:14px;
	padding:3px;
}

.noteblock1
{
    background: #d0d0d0;
    width: 465px;
    padding: 5px;
    border: 1px solid #000;
    color: #000;
    margin: 7px 0px 7px 0px;
}

.mod
{
    margin: 5px 0px 10px 0px;
    padding: 0;
}

.push
{
    margin: 7px 0px 7px 0px;
}

.noteheader
{
    width:auto;
    border-bottom: 1px solid #888;
    color: #000;
    height: 24px;
    font-family: verdana;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 3px;
	text-align:left;
}
.voteblock1
{
    background: #000000;
    width: 165px;
    padding: 5px;
    border: 1px solid #000;
    color: #000;
    margin: 7px 0px 7px 0px;
}
.voteblock2
{
    background: #ffffff;
    width: 500px;
    padding: 5px;
    border: 1px solid #000;
    color: #000;
    margin: 7px 0px 7px 0px;
}
.voteheader
{
    width:auto;
    border-bottom: 0px solid #888;
    color: #000;
    height: 24px;
    font-family: verdana;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 3px;
	text-align:left;
}
Member Avatar for diafol

In IE(remote), look at View Source. Is the output from the php code there or not?

If not, check to see if you've actually uploaded the php files to where you think (ok, I know you've said that it works in FF, but just check anyway).

If it is there, but you can't see it, it's either a css thing or you may have an unclosed html tag somewhere or something like that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.