We need to modify an existing website, [login to view URL], to show a different logo image, based on the client IP that has requested the page. Each logo image will be associated with one or more (address network) client IP and saved on a MySQL database.
Also, on the same login page, exists a formulary that someone can register to receive by SMS a free voucher. This formulary calls an API that creates a free voucher and sends a SMS to the mobile phone that has been entered. This API need to be modified to create a voucher with a profile that are associated with the client IP, like the logo image.
The website were build using Bootstrap 3 and AngularJS (Yeoman was used to bootstrap). The API was coded using CakePHP framework.
As discussed need to do 2 tasks:
1. Display logo on login form based on Partners IP
2. Pass Client IP and Modify API to select the correct profile.
Regards