Error in redirecting |
[eluser]mstdmstd[/eluser]
Hi All, I have rather a strange problem: I have a page with http://local-ci22.com/admin/facility/edit/4 url and it is submitted at itself having form definition : Code: <form class="form-horizontal" action="/admin/facility/edit/4/page/1" method="post" accept-charset="utf-8" id="form_facility_edit" name="form_facility_edit" enctype="multipart/form-data"> I save the data and want to make redirect at sime page with code like : Code: redirect( '/admin/facility/edit/' . $id ); But page is redirected at url http://local-ci22.com/-/admin/facility/edit/4/page/1 and I can not find where "-/" is from in rederecting url ? If redirect with code like Code: ( base_url() . 'admin/facility/edit/' . $id ); Is it some error redirect function of maybe error in config file? While relative urls are invalid ? Which config items are used here ? |
Messages In This Thread |
Error in redirecting - by El Forum - 08-27-2014, 08:20 AM
Error in redirecting - by El Forum - 08-27-2014, 09:32 AM
Error in redirecting - by El Forum - 08-27-2014, 09:29 PM
Error in redirecting - by El Forum - 08-28-2014, 07:32 AM
|