I'm a .net developer and I've just started developing a site on PHP running on IIS7-fastcgi.
I was wondering if there is any way to write a global function to automatically redirect any request that comes to my site in the format
http://something.com/anypage.php
to
http://www.something.com/anypage.php
You can do this in ASP.NET on the global.asax file. IS there any way to do this or set this condition in php?