PHP Classes

That's a lot of code for such a simple task

Recommend this page to a friend!

      URL Fetch  >  All threads  >  That's a lot of code for such a...  >  (Un) Subscribe thread alerts  
Subject:That's a lot of code for such a...
Summary:why not do it in a single line?
Messages:1
Author:Michael Richey
Date:2013-10-30 15:13:52
 

  1. That's a lot of code for such a...   Reply   Report abuse  
Picture of Michael Richey Michael Richey - 2013-10-30 15:13:52
(($_SERVER['SERVER_PORT']==80)?'http://':'https://').$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']