title: PHP if URL equals this then perform action
body: <p>So I have a page title that is part of a Magento template; I'd like it to display 1 of 2 options, depending on what the URL is. If the URL is option 1, display headline 1. If the URL is anything else, display headline 2. This is what I came up with, but it's making my page crash:</p>
  
  <pre><code>&lt;div class="page-title"&gt;
  &lt;h1&gt;&lt;?php
  $host = parse_url($domain, PHP_URL_HOST);
  if($host == 'http://domain.com/customer/account/create/?student=1') {
  echo $this-&gt;__('Create an account if you are a Post Graduate Endodontic Resident and receive our resident pricing. Please fill in all required fields. Thank you!')
  }
  else
  {
  echo $this-&gt;__('Create an Account')
  }
  ?&gt;&lt;/h1&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Anyone have any ideas?</p>
  
  <p>EDIT: So it should look like this?</p>
  
  <pre><code>$host = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
  if($host == 'http://domain.com/customer/account/create/?student=1')
  </code></pre>