how to get string before the second slash as a parameter?? |
$route['(:any)'] = 'login/index/?center=$1';
it's works but don't get the center as a $_GET parameter altough absolute address work and get the center as a $_GET parameter!: http://localhost/hamresan/login/index/?c...nstitution the get center=myinstitution |
Messages In This Thread |
how to get string before the second slash as a parameter?? - by imalegend - 04-18-2018, 09:29 AM
RE: how to get string before the second slash as a parameter?? - by tomdchi - 04-18-2018, 12:50 PM
RE: how to get string before the second slash as a parameter?? - by skunkbad - 04-18-2018, 01:25 PM
RE: how to get string before the second slash as a parameter?? - by imalegend - 04-19-2018, 12:46 AM
RE: how to get string before the second slash as a parameter?? - by ciadmin - 04-19-2018, 01:42 AM
RE: how to get string before the second slash as a parameter?? - by imalegend - 04-19-2018, 11:15 AM
RE: how to get string before the second slash as a parameter?? - by imalegend - 04-19-2018, 11:34 AM
|