Using PHP to clean up a url
<p>I have the following line of PHP:</p>

<p><code>echo "&lt;li&gt;".str_replace("http://", "", rtrim($row['website'],"/"))."&lt;/li&gt;";</code></p>

<p>That removes the http:// and the trailing slash from a url. However I also want it to remove https:// but don't want to wrap it in another str_replace.</p>

<p>Is their a better and more efficient way of doing this? Thanks</p>
