A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Tag Archives: base64_encode

Serialize + base64_encode an array for a URL

This is an alternative for passing a bunch of variables in the URL. The variables might be used for pagination scripts (limits, etc.), sorting results and others. Generally, I would do something like this for sorting results: http://localhost/reports?sort=username&sort_type=ASC That will … Continue reading

Posted in General | Tagged , , , | 2 Comments