Re: Servlet problem
| From: | Lim Swee Tat | Date: | Tue, 11 Apr 2000 08:53:30 +0000 |
| Subject: | Re: Servlet problem | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13378@lists.php.net to get a copy of this message | ||
>Lim Swee Tag wrote:
>Thanks for reporting the problem with PHP_SELF! I just committed a fix.
>
>What problems are you having with paths?
Sorry for this really late reply...
The problem I got can be recreated by using LDAPExplorer. PHP is unable to
recognize where it gets the files from. That is, say, I am in document
root /home/httpd, have my php files under /home/httpd/foo. Now say I have
this include directory in foo say /home/httpd/foo/include, and in my php
program, I need to access foo/include/somefile.inc, the said file will not
be found by the servlet. Is there any way of circumvating this. I changed
the include from somefile.inc to somefile.php, and it still gives me an
error. Maybe you might like to download a copy of the LDAPExplorer which
should give a clearer picture.
Thanx for the prompt reply and the fixes.
Ciao
ST Lim
--
Lim Swee Tat
Software Engineer
NCS Corporate IS Dept
DID: (65) 774 9177