Welcome Guest, Not a member yet? Register   Sign In
site_url() and ?
#1

[eluser]nanetorg[/eluser]
Hi. I cannot resolve my problem with CI 2.0.2 and helper URL.
When i use:
Code:
$data['mail'] = site_url('contact');
it gives me:
Code:
http://127.0.0.1/test/?contact
instead of:
Code:
http://127.0.0.1/test/contact

Where is the problem? Why i have '?' before anything i pass to this function?

My config is simple:
Code:
$config['base_url']    = '';
$config['index_page'] = '';
$config['url_suffix'] = '';

Thanks.


Messages In This Thread
site_url() and ? - by El Forum - 05-30-2011, 07:22 AM
site_url() and ? - by El Forum - 05-31-2011, 10:28 AM
site_url() and ? - by El Forum - 05-31-2011, 10:47 AM
site_url() and ? - by El Forum - 05-31-2011, 11:35 AM
site_url() and ? - by El Forum - 05-31-2011, 12:19 PM
site_url() and ? - by El Forum - 05-31-2011, 02:19 PM
site_url() and ? - by El Forum - 06-01-2011, 04:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB