• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting index.php 2X in url

hi folks..

im just wondering how to get rid of this 2X url.
say for example i follow the exact script from ci site,

when i go to http://localhost/code/upload.php
after submit, i get a 404 page and url becomes like this.

how do i get rid of "/index.php/upload" ??


[eluser]the real rlee[/eluser]
Looks like a path issue. I assume your doing something like:
<form action="/upload/do_upload/" >

Instead use the form helper to make sure the link to your controller function is relative:
echo form_open('upload/do_upload');

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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