RE: Slash vs BackSlash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> is there a way to write just one version of code both for
> windows based server (with path delimited by \)
> and linux based server (where the paths have /)?

Just use / for everything. Windows will understand. /tmp is the same as
c:\tmp, for example.

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux