JOEL LIPMAN Systems / Automation / AI

Knowledge base / Since 1999

Scripts, systems & field notes.

Practical solutions and technical notes from CRM platforms, workflow automation, APIs, databases and the systems around them.

Advanced search

85 entries / matching JSON

Clear filters
Sort an associative array by values in Javascript
JavaScript

Sort an associative array by values in Javascript

An article on how to quickly adapt an array code and sort by its values. Surprising how many examples are on the web and everyone saying you're doing it wrong... Which is true but quite unhelpful. The original code is not my own either but that's not an excuse. I also found that examples across the web were only partia...

Read note 32,522 hits
Convert XML UTF-16 to JSON UTF-8 with PHP cURL
Personal Home Page

Convert XML UTF-16 to JSON UTF-8 with PHP cURL

This is an article with notes for me on how to convert some received XML encoded in UTF-16 to some JSON in UTF-8. If it were entirely in UTF-8, I would simply load the received XML with SimpleXML and use the built-in PHP JSON_encode function. I ran into the following errors: Warning: SimpleXMLElement::__construct() [si...

Read note 63,767 hits
Submit form as a server and not the client with cURL
API Miscellaneous

Submit form as a server and not the client with cURL

A quick article on how to create a middleware script which accepts the values from a submitted HTML form and sends it to a server on another domain for processing. This applies to Linux Apache MySQL and PHP (LAMP) setups.

Read note 31,787 hits
Joomla Component: Set default params on installation
Joomla

Joomla Component: Set default params on installation

I'm making a custom component for Joomla CMS 2.5.x which is restricted to registered users only. On installation, and by default, the menu item returns a 500 - Server Error because the parameters haven't been set. I need to go into the Joomla Admin panel, view the Options of the component, and click on "Save"... despit...

Read note 28,603 hits
No more notes to load.

Working principle

Our Purpose

This site exists as a practical knowledge base built from real-world experience across systems, platforms, and technologies since 1999. Much of the content documents solutions, edge cases, and working patterns that were learned through investigation where documentation was incomplete or absent, and is shared to reduce the same friction for others.

27 Years in IT
1021 CRM clients
812 Site articles
29.8m+ Reads / hits

Knowledge base

Search notes

Find matching words in article titles and content.