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

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

WBOY
Release: 2016-06-13 12:36:19
Original
1071 people have browsed it

如果根据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>
Copy after login


如果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>
Copy after login


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

url php
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template