Hi all,

I've been watching Jefferey Way's excelent video series on Codeigniter, and while I was trying to follow along, there was a bug that I couldn't fix. When I placed an anchor tag:

anchor('login/signup','Create Account');

and clicked on it, this was the url generated:

http://localhost/ci/index.php/login/localhost/ci/index.php/login/signup

instead of:

http://localhost/ci/index.php/login/signup

The same bug also occurs with forms.

Help please?

In system/application/config/config.php set:

$config['index_page'] = "";
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.