Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Calculate the hash of the photo, if it has changed - execute the code
First, in any convenient way, you need to save information about the current avatar, and then, at the right time, check whether this information has changed (store the link, name, hash, etc.).
I will supplement the comments above. Also, do not forget to put it on cron
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question