Re: Relative Paths in Includes
| From: | skate | Date: | Tue, 08 Apr 2003 21:49:57 +0000 |
| Subject: | Re: Relative Paths in Includes | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19366@lists.php.net to get a copy of this message | ||
check your include path in your php.ini looks like it's looking in the wrong
place for your includes...
and it should also be ../ rather than ..\
----- Original Message -----
From: "Pearson, Gregory" <Gregory_Pearson@adp.com>
To: <php-windows@lists.php.net>
Sent: Tuesday, April 08, 2003 6:26 PM
Subject: [PHP-WIN] Relative Paths in Includes
> Does anyone know the proper way to specify a move up/down from a relative
> path? I'm trying to do something like this and it does not work in 4.2.3:
>
> include_once '..\..\SomeFile.php' ;
>
> I get this error:
>
> "PHP Warning: Failed opening '..\..\XMLUtilities.php' for inclusion
> (include_path='.;c:\php4\pear') "
>
>
>
> _______________________________
>
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
>
> If the reader of the message is not the intended recipient or an
authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, please notify us immediately by
e-mail
> and delete the message and any attachments from your system.
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>