hackerman Posted April 10, 2007 Report Share Posted April 10, 2007 Kā ar php funkcijām to var noteikt? Labi, to kā noteikt varētu atrast savos vecajos skriptos...Bet atgādinat, lai nav jārakņājas stundām ilgi :) Un man interesē kā to visu var nofeikot. Piem. man ir windows xp, bet es gribu, apmānīt php un panākt, lai parādās piem., ka lietoju windows 95 :) Link to comment Share on other sites More sharing options...
andrisp Posted April 10, 2007 Report Share Posted April 10, 2007 echo $_SERVER['HTTP_USER_AGENT']; http://lv.php.net/manual/en/function.get-browser.php (Arī balstās uz http user agent, bet cenšas dot vairāk informācijas). http://www.google.lv/search?hl=lv&q=br...er+agent+change Link to comment Share on other sites More sharing options...
blackhalt Posted April 10, 2007 Report Share Posted April 10, 2007 Nofeiko sūtot uz to serveri attiecīgu header: User-Agent: Google\r\n Piemēram, ar Firefox var tā: http://chrispederick.com/work/useragentswitcher/ Link to comment Share on other sites More sharing options...
hackerman Posted April 10, 2007 Author Report Share Posted April 10, 2007 A kā ir ar to OS? Link to comment Share on other sites More sharing options...
andrisp Posted April 10, 2007 Report Share Posted April 10, 2007 OS arī iekš tā user agent stringa ir. Link to comment Share on other sites More sharing options...
hackerman Posted April 10, 2007 Author Report Share Posted April 10, 2007 ok, paldies :) Link to comment Share on other sites More sharing options...
Recommended Posts