Jump to content

include file.php does not show on server


Recommended Posts

my code look like this

	<ul id="navigation">
<li> <a href="index.php?page=profile.php">Profile</a></li>
<li > <a href="index.php?page=product.php">Products</a></li>
<li ><a href="index.php?page=service.php">Service</a></li>
<li ><a href="index.php?page=promotion.php">Promotion</a></li>
<li ><a href="index.php?page=contact.php">Contact us</a></li>

<div class="content">  

if(empty($page) or $page=="index"){
include ("profile.php");
else { include ($_GET["page"]);}



It works well on appserv, but when i uploaded to server ... it's not working.. what to do?  :-\

Link to comment
Share on other sites


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.