Welcome Guest, Not a member yet? Register   Sign In
remove index.php from form_open()

is it possible to remove the index.php when using form_open() ?
echo form_open('email/send');
The above example would create
<form method="post" action="http:/www.your-site.com/index.php/email/send" />

[eluser]Michael Wales[/eluser]
Have you implemented the .htaccess solution - therefore your anchor() links don't have the index.php as well?

If you have, then look in your config.php and make sure you have it setup correctly.

If not, implement the .htaccess then alter your config.php.

Read the guide - it tells you how.

Ah yea, thanks for the heads up. Had not removed the index.php from $config['index_page'] = "index.php";

[eluser]Michael Wales[/eluser]
User Guide: CodeIgniter URLs - See the "Removing index.php" section

Theme © iAndrew 2016 - Forum software by © MyBB