Getting automatically correct delimiter for platform

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" ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-27-2006
joes
 
Posts: n/a
Default Getting automatically correct delimiter for platform

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0