Re: Can't find .php3 files
| From: | Jim | Date: | Wed, 09 Jan 2008 15:48:24 +0000 |
| Subject: | Re: Can't find .php3 files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266969@lists.php.net to get a copy of this message | ||
Ford, Mike wrote:
On 09 January 2008 12:18, Anup Shukla wrote:That's quite a good suggestion. Just to be clear about the other point, an include or require is purely file system based, *unless* you give it a full URL beginning with a protocol name such as http:// or ftp:// (which, as a general rule, is somewhat disrecommended!). Thank you, that confirmed what I suspected. Jim.Jim wrote:The admin.php3 seems to be 2 levels above the current dir. What about print realpath("../admin/admin.php3") in the same script?The include is more like require "../admin/admin.php3" I don't know exactly how Apache performs its magic so I wasn't sure that the request for an include file would even pass through Apache's hands. In my limited world, an include wouldn't have to involve Apache, just the file systems.Hi, Mike,
Cheers! Mike