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

129 entries / matching PHP

Clear filters
URL Alias uniqueness with PHP & MySQL
Personal Home Page

URL Alias uniqueness with PHP & MySQL

So this is an article for me on how to copy Joomla's and Wordpress' feature where a Title/Name value is converted to a search-engine friendly URL alias and is unique in the database. Ok that's a long sentence; let me try this:When I save a record in JoomlaCMS or WordpressCMSIt creates a unique name to use in URLsI want...

Read note 34,379 hits
Google Drive API v3 - OAuth2 using Service Account in PHP/JWT
Google

Google Drive API v3 - OAuth2 using Service Account in PHP/JWT

This is an article explaining the code needed to write a PHP script which generates an access token for a service account which in turn is used to list files in a team's Google Drive. This is very different to my code for OAuth when attended: Google Authentication - OAuth 2.0 using PHP/cURL... In that this one doesn't...

Read note 88,989 hits
Zoho CRM: APIv2 using PHP & cURL
Zoho CRM

Zoho CRM: APIv2 using PHP & cURL

This is an article documenting how to access ZohoCRM with API v2 using PHP and cURL. The first few functions are to manage OAuth v2 and generate the refresh and access tokens. The second snippet of code below is using the functions to read data from Zoho CRM and to write data back to the system.

Read note 32,459 hits
Google Authentication - OAuth 2.0 using PHP/cURL
Google

Google Authentication - OAuth 2.0 using PHP/cURL

This is an article which lists the functions necessary to process Google Authentication using OAuth2.0. These functions allow a script to simply be loaded and to either create a token file, or use the existing one as long as it hasn't expired. Update 2019 This script requires a user to authenticate the google account...

Read note 58,939 hits
MySQL Transactions in PHP
MySQL

MySQL Transactions in PHP

Sometimes it is critical to ensure a group of queries are all executed successfully to maintain the integrity of our data. Let's say we have a banking app where we need to subtract funds from one account and add funds to another: $mysqli->query ("UPDATE 'accounts' SET 'balance' = 'balance'-1000000 WHERE 'user' = 'Bob'"...

Read note 20,562 hits
Accessing Apimo WebService API
API Miscellaneous

Accessing Apimo WebService API

This is an article on how I connected to the Apimo WebService. The Apimo Webservice is an API provided by apimo.com and requires a server request over HTTPS using the GET method.

Read note 39,885 hits

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
816 Site articles
30.0m+ Reads / hits

Knowledge base

Search notes

Find matching words in article titles and content.