Re: [PHP] Re: Undiscovered Firefox...

2004-06-10 Thread Curt Zirzow
* Thus wrote Justin Patrin ([EMAIL PROTECTED]): > John Nichel wrote: > > >Justin Patrin wrote: > > > >>BTW, you should really use > >> strstr($_SERVER['HTTP_USER_AGENT'], 'Firefox'); > >>or stristr > >> > > > >I'm an old Perl guy. Me likes perl regular expressions. :) > > > > Sure, I love PREGs

Re: [PHP] Re: Undiscovered Firefox...

2004-06-10 Thread Justin Patrin
John Nichel wrote: Justin Patrin wrote: BTW, you should really use strstr($_SERVER['HTTP_USER_AGENT'], 'Firefox'); or stristr I'm an old Perl guy. Me likes perl regular expressions. :) Sure, I love PREGs myself, but it's way overkill for such a simple operation. ;-) -- paperCrane -- PHP Gener

Re: [PHP] Re: Undiscovered Firefox...

2004-06-10 Thread John Nichel
Justin Patrin wrote: BTW, you should really use strstr($_SERVER['HTTP_USER_AGENT'], 'Firefox'); or stristr I'm an old Perl guy. Me likes perl regular expressions. :) -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

[PHP] Re: Undiscovered Firefox...

2004-06-10 Thread Justin Patrin
John Nichel wrote: Okay, I'm sitting at home, writing a bit of code for one of my personal sites, and I'm currently working on a function to detect different browser types. Well, I think I have the URL to a page on one of my boxes which echo's out the HTTP_USER_AGENT in my clipboard. However,