Funtions like icloud in php