PHP相当于? [英] PHP equivalent?

查看:99
本文介绍了PHP相当于?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面的PHP等价物是什么?


if(window.location ==" http:/site.com/page1.html")

{


}

else

{


}


谢谢,




---- ==通过Newsfeeds.Com发布 - 无限制 - 未经审查-Secure Usenet News == ----
http://www.newsfeeds.com 世界排名第一的新闻组服务! 120,000多个新闻组

---- =东海岸和西海岸服务器农场 - 通过加密实现全隐私= ----

解决方案

Don< no@adr.com>写道:

以下是什么PHP的等价物?

if(window.location ==" http:/site.com/page1.html")




见:
http://www.php.net/manual/en/reserve...riables.server

并构建来自可用元素的请求URI。


Don< no@adr.com>写道:

以下是什么PHP的等价物?
if(window.location ==" http:/site.com/page1.html"){

} else {

}




my_page =" http://"

What''s the PHP equivalent for the following?

if(window.location == "http:/site.com/page1.html")
{

}
else
{

}

Thanks,
Don

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

解决方案

Don <no@adr.com> wrote:

What''s the PHP equivalent for the following?

if(window.location == "http:/site.com/page1.html")



see:
http://www.php.net/manual/en/reserve...riables.server
and construct the requested URI from the available elements.


Don <no@adr.com> wrote:

What''s the PHP equivalent for the following?
if(window.location == "http:/site.com/page1.html") {

} else {

}




my_page = "http://".


这篇关于PHP相当于?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆