|
Posted by +86 on 11/25/06 08:17
"Gordon Burditt 写道:
"
thanks for your answer.
>
> There are plenty of situations where this will happen. If a file
> name begins with ./, it will be looked up with include_path relative
> only to the current working directory, not the current script.
>
> Are you SURE you know what the current working directory is when
> the script is started?
The dicrecory is named 'test'.There's no file name like './',All files
in it ara 'info.php' and 'inc.php', if the current working directory is
'test' when i browse 'info.php'?
In this case if the two way to include is different?
> include() uses include_path to search for files.
> file_exists() doesn't.
I never set include_path before using win2003 and the win2000 server
run well.
>
> >my environment is win2003+iis+php5
> >
> >how to fix it ?
>
> The fix may be to correct the "right" value. Don't think that!
I think you can tell me how to resolve this problem..thanks :)
Navigation:
[Reply to this message]
|