Problem with URI and pass String Variables with GET... |
[eluser]Parker Lewis[/eluser]
Ok. This is my first post... I didn't found out a solution for my problem in google.. As u know, the uri in codeigniter handle class, function and variables in this way: ww.myblog.com/class/function/variable1/variable2 I have to pass a string that contain blank spaces... so that i have to redirect to this page ww.myblog.it/class/function/variable with blank spaces/variable2 but it takes only the first word ('variable'). In normal PHP programming if i had to pass a string variables (with blank spaces) with GET there was no problem.. I mean that I could write a href="index.php?variable1=string with blank space inside"> click </a> and it works... i mean that $_GET['variable1'] = string with blank space inside and not only string How can i manage this thing in codeigniter ? thanks in anvance... Hope to being clear... Federico
[eluser]Italo Domingues[/eluser]
Hello. For security CodeIgniter does not allow the use of special characters and space in the url, but you can enable the query string in the configuration files located in application/config. Also read the user guide (http://ellislab.com/codeigniter/user-gui.../urls.html) Code: /*
|
Welcome Guest, Not a member yet? Register Sign In |