views:

42

answers:

1

I have an iOS app send an NSURLRequest/NSURLConnections to PHP Webserver. How can i detect iDevices's Serial Number which sent NSURLRequest/NSURLConnections to my PHP Webserver? Anybody can help me? :)

A: 

Try this

NSString *uid = [[UIDevice currentDevice] uniqueIdentifier];

All the Best.

Warrior
How can i get information of iDevices by using PHP? :(
leduchuy89vn
Why you want to use php? if you want to store/use the device udid in the webserver ,the detect is using my code and pass it as argument to the php url.
Warrior
If pass UniqueIdentifier as argument to the php url, i'll don't known it come from iDevices which have that UniqueIdentifier. I want to make sure it come from exactly iDevice which have that UniqueIdentifier. Can you tell me how to do it :)
leduchuy89vn