Home  >  Article  >  Backend Development  >  如其根据url判断网页内容的显示

如其根据url判断网页内容的显示

WBOY
WBOYOriginal
2016-06-13 12:36:191024browse

如果根据url判断网页内容的显示

<div><br />
						<?php /*?><p>让天下没有烦心的装修</p><br />
                        <br />
						<span id="current_city"><?php echo $default_city_rs["cn"]?"".$default_city_rs["cn"]."":"总站";?></span> <a href="###" onclick="showcity();" class="switch">[切换城市]</a><?php */?><br />
						<img     style="max-width:90%" src="../img/yangzi.jpg" / alt=" 如其根据url判断网页内容的显示 " ><br />
            <br />
					</div>


如果url显示是dz.xxxx.com  显示 如其根据url判断网页内容的显示  否则显示上面的
<p>让天下没有烦心的装修</p><br />
                        <br />
						<span id="current_city"><?php echo $default_city_rs["cn"]?"".$default_city_rs["cn"]."":"总站";?></span> <a href="###" onclick="showcity();" class="switch">[切换城市]</a>


求指导,求代码!感谢!!!!

url php
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn