This is a discussion on Getting automatically correct delimiter for platform within the PHP General forums, part of the PHP Programming Forums category; Hi I have difficulties to retrieve automatically the correct path delimiter for the underlying platform i.e "include_path" ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi
I have difficulties to retrieve automatically the correct path delimiter for the underlying platform i.e "include_path" uses ";" or ":". because I developing my PHP pages on windows and deploy these after to unix/linux I am looking for a way that such delimiters can be on the fly be changed and interpreted automatically. - Exists there a constant or variable where I can retrive the current platform name (Windows/Linux...)? - Exists there already a constant which contains the correct delimiter value for the underlying platform? Thanks for your comments and hints regards Mark |