__自__? [英] __SELF__?

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

问题描述

我喜欢__FILE__常数;它非常有用。是否有一个

常量,相当于$ PHP_SELF?这也是一个有用的

值,但根据文档,...可能会或可能不会[存在] $ _SERVER。

In分布式应用程序,可能会也可能不会飞。我很惊讶,如果那里

不是一个可靠的方法来检索这个价值。


-

艾伦Little

Phorm PHP表格处理器
http:// www。 phorm.com/

I love the __FILE__ constant; it''s been enormously useful. Is there a
constant that would be the equivalent of $PHP_SELF? That''s also a useful
value, but according to the docs, "...may or may not [exist] in $_SERVER."
In a distributed app, may or may not doesn''t fly. I''m surprised, if there
isn''t a reliable way to retrieve this value.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/

推荐答案

PHP_SELF?这也是一个有用的

值,但根据文档,......可能会或可能不会[存在]
PHP_SELF? That''s also a useful
value, but according to the docs, "...may or may not [exist] in


_SERVER。 ;

在分布式应用中,可能会也可能不会飞。我很惊讶,如果那里

不是一个可靠的方法来检索这个价值。


-

艾伦Little

Phorm PHP表格处理器
http:// www。 phorm.com/
_SERVER."
In a distributed app, may or may not doesn''t fly. I''m surprised, if there
isn''t a reliable way to retrieve this value.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/


Alan Little写道:
Alan Little wrote:
我喜欢__FILE__常数;它非常有用。是否有一个
常量,相当于
I love the __FILE__ constant; it''s been enormously useful. Is there a
constant that would be the equivalent of


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

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