El Forum
01-16-2009, 07:57 PM
[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.
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="<?=site_url(">Register</a> - <a href="<?=site_url(">Login</a> - <a href="<?=site_url(">Logout</a> - <a href="<?=site_url(">New Signal</a>
<br/><?=$this->session->userdata('username');?>
</div>
<div id="container_div"> </div>
<div id="footer_div">Footer text</div>
</div>
</body>
</html>