I can see php codes in html output

#1
[eluser]ApranaxFortress[/eluser]
I was write my codes in Linux and i'd copy my files into windows (with wamp server) but when i open my project i can see php codes in browser


This is html output of my project.
Code:
<html>
<head>
<title>A site</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
[removed][removed]


[removed][removed]
<link rel="stylesheet" type="text/css" href="<?=base_url()?>theme/theme.css">
</head>
<body>
<div id="first_div">
<div id="header_div">
  <a href="&lt;?=site_url(">Register</a> - <a href="&lt;?=site_url(">Login</a>  - <a href="&lt;?=site_url(">Logout</a> - <a href="&lt;?=site_url(">New Signal</a>

  <br/>&lt;?=$this->session->userdata('username');?&gt;
  </div>
<div id="container_div"> </div>
<div id="footer_div">Footer text</div>
</div>
&lt;/body&gt;
&lt;/html&gt;


Messages In This Thread
I can see php codes in html output - by El Forum - 01-16-2009, 07:57 PM
I can see php codes in html output - by El Forum - 01-16-2009, 08:03 PM
I can see php codes in html output - by El Forum - 01-16-2009, 08:13 PM
I can see php codes in html output - by El Forum - 01-16-2009, 08:16 PM
I can see php codes in html output - by El Forum - 01-17-2009, 01:12 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.