PEAK XOOPS - Constant __FILE__ is not available in pico contents in englishin japanese

Constant __FILE__ is not available in pico contents

List posts in the topic

report Constant __FILE__ is not available in pico contents

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/23 5:30
hoshiyan  二等兵   Posts: 8
Hi,GIJOE!

I have a problem about __FILE__ php constant. In pico contents,
the code defined(__FILE__) becomes FALSE.

$r1 = (defined(__FILE__))? "defined":"not defined";
echo $r1;

In my environment, the result of above code is "not defined".

PHP/5.2.0-8, Apache2

Hoshiyan
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!