get id from current url for php
By David Swift at May 20 2021
Cakephp - Get current base url (include domain )
By Darlene Spencer at Feb 26 2022