Welcome Guest, Not a member yet? Register   Sign In
Serializing Data - I found this helpful
#5

[eluser]TheFuzzy0ne[/eluser]
That helper will work for you. You'd just need to load the helper and substitute the base64_encode with url_base64_encode and base64_decode with url_base64_decode.

EDIT: I also had another problem where I was using urlencode() to encode the URL, and having %2 in the URL broke the request at the server level (the index.php was never even loaded), because my server parsed it as a "/", and this also helps with that issue, but makes for "fugly" URLs.

Off-topic: urlencode()... What's with that? Shouldn't it have been url_encode()?? Was the function implemented before they invented the underscore? Maybe whoever coded it, has his underscore key stolen by a colleague as a horrible prank (I know that having to use a biro or other sharp object to type an underscore would drive me nuts!). Maybe it was written in camel case, but it all went to pot because it didn't matter because PHP isn't case sensitive? Does anyone actually have an explanation for it?


Messages In This Thread
Serializing Data - I found this helpful - by El Forum - 04-02-2009, 10:23 PM
Serializing Data - I found this helpful - by El Forum - 04-02-2009, 10:46 PM
Serializing Data - I found this helpful - by El Forum - 04-02-2009, 10:47 PM
Serializing Data - I found this helpful - by El Forum - 04-03-2009, 05:12 AM
Serializing Data - I found this helpful - by El Forum - 04-03-2009, 05:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB