Re: Path question.
| From: | Nilesh Govindarajan | Date: | Thu, 28 Jul 2011 12:36:41 +0000 |
| Subject: | Re: Path question. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314230@lists.php.net to get a copy of this message | ||
On 07/28/2011 05:43 PM, Paul Halliday wrote:
> I have a few scripts that use "../location/file"
>
> Is this interpreted differently on some systems?
>
> Thanks.
>
I have no idea about it, but I generally use realpath() to avoid any
such problems. Windows may have, because it uses backward slashes
instead of forward which are used in *nix (incl mac)
--
Regards,
Nilesh Govindarajan
@nileshgr on twitter/identica