Jump to content

Here is an example of a dynamic web page that uses regular expressions to determine which browser...


G+_Joe Maruschek
 Share

Recommended Posts

Here is an example of a dynamic web page that uses regular expressions to determine which browser you have.

 

Over the weekend, I figured out how to run perl CGI scripts on my web hosting account, so if you want to see the code in action, go to http://joemaruschek.com/test/user_agent.pl.  If your browser is not recognized, see if you can come up with a match expression that will work.

https://github.com/joemarus/perl_examples/blob/master/user_agent.pl

Link to comment
Share on other sites

 Share

×
×
  • Create New...