Welcome Guest, Not a member yet? Register   Sign In
weird characters in the url
#20

[eluser]dianikol85[/eluser]
[quote author="osci" date="1302470779"]@dianikol85
the arrays way in comment #14 weren't good for your dynamic requirement?[/quote]

sure it works fine but the problem isn't how to generate the url. The prob is when i have greeks in it. In you example in comment #11 you didn't explain how did you pass the search form variables in the url.

Do you do something like i do? I send the post int a method and in that method i generate the segments and then i redirect with the generating string like that

Code:
redirect('index/'.$generated_string);

I can't think another way on how to pass it to the view in order to have the pagination.


I also want to mention that when i have greeks in the url try to copy the url and paste it in a text document. It prints a hex value of those greek words.

And that hex value pass in the model.

Even if use a func hex to string the sql query still doesn't work. The only way i make it works is that in the method i produce the $generated_string at the same time i store the values in a session and i use that session in the model to achieve a success sql query

It works but with that way i can't share the link because i use a session in the model...


Sad


Messages In This Thread
weird characters in the url - by El Forum - 04-10-2011, 04:35 AM
weird characters in the url - by El Forum - 04-10-2011, 05:04 AM
weird characters in the url - by El Forum - 04-10-2011, 05:05 AM
weird characters in the url - by El Forum - 04-10-2011, 06:23 AM
weird characters in the url - by El Forum - 04-10-2011, 06:35 AM
weird characters in the url - by El Forum - 04-10-2011, 06:52 AM
weird characters in the url - by El Forum - 04-10-2011, 07:43 AM
weird characters in the url - by El Forum - 04-10-2011, 08:20 AM
weird characters in the url - by El Forum - 04-10-2011, 09:01 AM
weird characters in the url - by El Forum - 04-10-2011, 09:14 AM
weird characters in the url - by El Forum - 04-10-2011, 09:25 AM
weird characters in the url - by El Forum - 04-10-2011, 09:30 AM
weird characters in the url - by El Forum - 04-10-2011, 09:33 AM
weird characters in the url - by El Forum - 04-10-2011, 09:38 AM
weird characters in the url - by El Forum - 04-10-2011, 09:52 AM
weird characters in the url - by El Forum - 04-10-2011, 10:00 AM
weird characters in the url - by El Forum - 04-10-2011, 10:12 AM
weird characters in the url - by El Forum - 04-10-2011, 10:20 AM
weird characters in the url - by El Forum - 04-10-2011, 10:26 AM
weird characters in the url - by El Forum - 04-10-2011, 10:45 AM
weird characters in the url - by El Forum - 04-10-2011, 11:17 AM
weird characters in the url - by El Forum - 04-10-2011, 12:17 PM
weird characters in the url - by El Forum - 04-10-2011, 12:42 PM
weird characters in the url - by El Forum - 04-11-2011, 02:49 AM
weird characters in the url - by El Forum - 04-11-2011, 03:56 AM
weird characters in the url - by El Forum - 04-11-2011, 04:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB