• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.