Re: Windows > Linux

From: Date: Tue, 27 Jun 2000 17:29:38 +0000
Subject: Re: Windows > Linux
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3374@lists.php.net to get a copy of this message
Phil Driscoll, > >Is there any easy way to convert a PHP script developed on Windows to Linux > >(like is it possible to have PHP change all the slashes in filenames > >itself??) > > If your windows platform is NT then there is no need to change anything as > you can use unix style forward slashes anyway. If you still want to change the slashes though something like this might fix it: sed 's/\\/\//g' file.php > new_file.php I should warn you that this changes all instanced of '\' to '/', even those that have no connection to fileneames or paths. -- Øyvind Grønnesby "Wow, I had knowledge!" --Buffy

« previous php.general (#3374) next »