When you pasted that PHP code firefox did a google "I'm feeling lucky"
search on it.  If you go to google and manually do the I'm feeling lucky
search you should end up at the same place.

Yet another reason firefox deserves the top of the heap.

--Rick

> -----Original Message-----
> From: John Nichel [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 10, 2004 8:15p
> To: PHP List
> Subject: [PHP] Undiscovered Firefox...
> 
> 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, 
> what I have there is....
> 
> elseif ( preg_match ( "/Firefox/", $_SERVER['HTTP_USER_AGENT'] ) ) {
> 
> Well, I paste this into Firefox's URL bar and hit enter 
> before my brain 
> can tell my hands that this is not what I want to do.  Do I 
> get a "could 
> not find server" error from Firefox?  Nope.  It forwards me 
> to this page....
> 
> http://itangersjack.com/oddball/cheese.htm
> 
> Nothing really special about the page, except it's revealing 
> source code 
> to something I'm currently working on (not in the way I'm 
> doing it, but 
> it's there).  Okay, it's late, and I'm easily amused. ;)
> 
> -- 
> By-Tor.com
> It's all about the Rush
> http://www.by-tor.com
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to