Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14115

Url Helper Function site_url()

$
0
0
Hey,

i have start now to learning this framework. I using in this time the url_helper with the function site_url().
I have in my config.php the base_url looking like this :  $config['base_url'] = 'localhost/htdocs/php/frameworks/codeigniter/';

Now if i using the site_url()-function the full url will be created, but if i pressing the link this base_url append to the other url in the url_bar in the browser. So my url is like this:  http://localhost/php/frameworks/codeigniter/index.php/news/localhost/htdocs/php/frameworks/codeigniter/news/

I have tried to delete the bas_url content. But if i do it, i get, if i pressed the url like this: [:019:]/php/frameworks/codeigniter/index.php/news

How i can solve this problem?

Viewing all articles
Browse latest Browse all 14115

Trending Articles