Welcome Guest, Not a member yet? Register   Sign In
url brocken / become /2F
#4

(This post was last modified: 02-04-2023, 12:33 PM by cb21.)

My source code looks like
<form action="http://localhost/../index.php?%2Fgestion%2Flogin%2Flogincheck=" method="post" accept-charset="utf-8">

I found a workaround

// echo form_open('gestion/login/logincheck');
$url = base_url('index.php/gestion/login/logincheck');
echo form_open($url);

base_url give me good url
form_open --> wrong url
site_url -->wrong url. I have to change all site_url I had in base_url

Waiting for advice...
CodeIgniter 4.1.9
Reply


Messages In This Thread
url brocken / become /2F - by cb21 - 02-04-2023, 02:58 AM
RE: url brocken / become /2F - by kenjis - 02-04-2023, 04:44 AM
RE: url brocken / become /2F - by cb21 - 02-04-2023, 06:24 AM
RE: url brocken / become /2F - by cb21 - 02-04-2023, 12:29 PM
RE: url brocken / become /2F - by kenjis - 02-04-2023, 09:50 PM
RE: url brocken / become /2F - by cb21 - 02-05-2023, 07:07 AM
RE: url brocken / become /2F - by kenjis - 02-05-2023, 03:53 PM
RE: url brocken / become /2F - by cb21 - 02-11-2023, 08:08 AM
RE: url brocken / become /2F - by InsiteFX - 02-12-2023, 12:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB