sofTKiller Posted August 29, 2004 Report Share Posted August 29, 2004 Nepateiktu kāds lūdzu php (bez MySQL) skriptu, ar kura palīdzību var noteikt IP, OS, Brauzeri? :rolleyes: Link to comment Share on other sites More sharing options...
bubu Posted August 30, 2004 Report Share Posted August 30, 2004 echo 'Tava IP ir: ', $_SERVER['REMOTE_ADDR'], "\n"; echo 'Browseris\OS: ', $_SERVER['HTTP_USER_AGENT'], "\n"; Link to comment Share on other sites More sharing options...
sofTKiller Posted August 30, 2004 Author Report Share Posted August 30, 2004 2 bubu: Thx! B) Link to comment Share on other sites More sharing options...
neonz Posted September 5, 2004 Report Share Posted September 5, 2004 Gribu papildinaat, ka dereetu njemt veeraa Opera's user-agent feikoshanu, ko var viegli detekteet, jo Opera feikotajam user-agent stringam beigaas piemet "Opera/x.yy". Respektiivi: $opera = strstr($_SERVER['HTTP_USER_AGENT'], 'Opera'); if (!empty($opera)) { $userAgent = $opera; } else { $userAgent = $_SERVER['HTTP_USER_AGENT']; } Gan jau liidziigi var noteikt arii kaadus citus paarluukus, kas vilto user-agentu. Link to comment Share on other sites More sharing options...
Recommended Posts