Reply to Re: Does the pear package sub-include use a backslash on linux?

Your name:

Reply:


Posted by Hendri Kurniawan on 05/02/07 23:25

cybervigilante wrote:
> I was trying the pear package on my local winmachine and noticed that
> one of the includes has a backslash
>
> <?php
>
> include('Mail.php');
> include('Mail\mime.php');
>
> is this a path backslash? i.e. if I access pair on my linux server, do
> I have to put a forward slash in between Mail and mime? such as Mail/
> mime.php Or does the slash have another meaning? I haven't found a
> lot of pear documentation and the one I am reading has that slash,
> which I'm not sure is for any host or just for win.
>
> Jim
>

In my experience, PHP took care of that.
But you can use a constant specified by PHP: DIRECTORY_SEPARATOR

Hendri Kurniawan

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация