Welcome Guest, Not a member yet? Register   Sign In
site_url not working on the server
#1

[eluser]dinisptc[/eluser]
site_url not working on the server

Code:
<a href="&lt;?= site_url('user/profile') ?&gt;"><img src="&lt;?php echo base_url()." alt="profile"></a>

if i do it like this it works


Code:
<a href="&lt;?php echo site_url('user/profile') ?&gt;"><img src="&lt;?php echo base_url()."alt="profile"></a>

on the localhost it works and in another server

maybe the server should have something installed on the php


Messages In This Thread
site_url not working on the server - by El Forum - 02-12-2013, 11:50 AM
site_url not working on the server - by El Forum - 02-12-2013, 02:42 PM
site_url not working on the server - by El Forum - 02-12-2013, 03:54 PM
site_url not working on the server - by El Forum - 02-12-2013, 09:42 PM
site_url not working on the server - by El Forum - 02-12-2013, 10:50 PM
site_url not working on the server - by El Forum - 02-13-2013, 01:36 AM
site_url not working on the server - by El Forum - 02-13-2013, 05:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB