homepage Welcome to WebmasterWorld Guest from 54.225.24.227
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Setting security for login
toplisek




msg:4483874
 3:50 pm on Aug 11, 2012 (gmt 0)

I like to set security by PHP and the following information:
Operating System: WinXP
Browser: IE 8
Location

How to set professional detection in the correct way and all compatible?
Is there some reference or article?

 

coopster




msg:4485235
 10:47 pm on Aug 15, 2012 (gmt 0)

Location would be marginal at best, as you often see with Google or other sites that note your IP address and try to GEO IP target you by looking up your IP address in known ranges for Internet Service Providers (ISP). Search for "ip location" or "ip geolocation" for further reading.

As far as OS and browser go, about all you can do is see if the user has opted to allow their user agent to be sent along with their request to your server and parse it for known patterns. The PHP superglobal $_SERVER['HTTP_USER_AGENT'] will be the value you will be targeting.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved