PHP post script for iOS application