homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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

WebmasterWorld Senior Member 5+ Year Member

Msg#: 4483872 posted 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

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



WebmasterWorld Administrator coopster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4483872 posted 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