Use php to generate snippet code of html or javascript
Simply want to use php to generate snippet in javascript or html that can access images from another server if they meets criteria as they are registered and active.

Example.
if i have some users that have avatars if they want to embed their avatar on their own website they use snippet code generated by php app(they include snippet code in website page to show avatar that is on another server where my php app lie ).
Snippet only show their image by applying some conditions e.g where the request came from etc

Use php to generate snippet code of html or javascript
===

Simply want to use php to generate snippet in javascript or html that can access images from another server if they meets criteria as they are registered and active.

Example.
if i have some users that have avatars if they want to embed their avatar on their own website they use snippet code generated by php app(they include snippet code in website page to show avatar that is on another server where my php app lie ).
Snippet only show their image by applying some conditions e.g where the request came from etc
