Re: [PHP] File Handing Windows / Linux

2004-11-14 Thread Jason Wong
On Monday 15 November 2004 00:34, Steve Vernon wrote: > I am trying to make some code which gets a handle to a directory, but has > different code for my localhost (Windows) and for online (Linux server). > > Basically, I want either of the below lines. Say if the first fails, it > must be on Linu

[PHP] File Handing Windows / Linux

2004-11-14 Thread Steve Vernon
Hiya! I am trying to make some code which gets a handle to a directory, but has different code for my localhost (Windows) and for online (Linux server). Basically, I want either of the below lines. Say if the first fails, it must be on Linux and then it uses the line below. The two example lin