May there be problems with a / directory separator?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
kaisellgren
DevNet Resident
Posts: 1675
Joined: Sat Jan 07, 2006 5:52 am
Location: Lahti, Finland.

May there be problems with a / directory separator?

Post by kaisellgren »

Hi,

Does anyone have extensible experience about using / as a directory separator. It seems to work in box *nix and Windows. I know it's possible to change this in Windows, but doesn't it still work?
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: May there be problems with a / directory separator?

Post by VladSun »

I think it still works, so keep using the '/' :)
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
kaisellgren
DevNet Resident
Posts: 1675
Joined: Sat Jan 07, 2006 5:52 am
Location: Lahti, Finland.

Re: May there be problems with a / directory separator?

Post by kaisellgren »

VladSun wrote:I think it still works, so keep using the '/' :)
Exactly. I just became worried when I noticed a few script using directory separator constant :P
Post Reply