Jump to content

[SOLVED] Determine what server platform your deploying on?


tim_perrett

Recommended Posts

Hey chaps

 

Is there a way to dynamically work out what platform your on? As I have a function that I either need to pass '/' for *nix systems, and '\\' for win32 boxes yet there doesnt seem to be an easy way to do this?

 

Any suggestions people?

 

Cheers

 

Tim

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.