Link to home
Start Free TrialLog in
Avatar of bobby101
bobby101

asked on

web phone app

HI

I have a done app and hosting it on a server and wondering how to allow a person if there accessing it from a mobile device and not allow ppl who use the comp to access it???
SOLUTION
Avatar of cavagnaro
cavagnaro
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Check this for mobile browser IDs so you can do the other way:

http://www.zytrax.com/tech/web/mobile_ids.html
This information is "external data" and may be subject to tampering.  That said, look at this variable:
$_SERVER['HTTP_USER_AGENT']

You can find it if you run phpinfo();

The notes on the get-browser page are useful, and see especially this note (looks like get-browser has some problems):
http://www.php.net/manual/en/function.get-browser.php#88923

In order for get-browser to work, your browscap configuration setting in php.ini must point to the correct location of the browscap.ini file on your system.  browscap.ini is not bundled with PHP.  It relies on user updates to keep the database current.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial