RE: [PHP-WIN] Relative Paths in Includes
| From: | Pearson, Gregory | Date: | Wed, 09 Apr 2003 13:39:33 +0000 |
| Subject: | RE: [PHP-WIN] Relative Paths in Includes | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-19372@lists.php.net to get a copy of this message | ||
Worked. Thanks, skate.
-----Original Message-----
From: skate [mailto:root@fatcuban.com]
Sent: Tuesday, April 08, 2003 5:50 PM
To: Pearson, Gregory; php-windows@lists.php.net
Subject: Re: [PHP-WIN] Relative Paths in Includes
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
>
>
>
_______________________________
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.