Php script to store user localization data