hi,
usually we use the php with the windows platform, then is it possible the php intergrated with linux platform?
how about the code in windows platform , is it need to change some code or re - code it???
thank you.......
php in linux platform
Moderator: General Moderators
If you switch from Windows to Linux it's unlikely that you'll have to recode anything - but you might.
For example, Windows recognises \ and / as a path separator but (I think) you'd have to change any backslashes to forward slashes for Linux.
There's a minor issue with the fopen() function - see: http://uk2.php.net/manual/en/function.fopen.php
AFAIK, differences are all pretty minor stuff like this relating to file systems - as you'd expect really. The php manual and user comments are worth a read (user comments may not always be correct, although the bad posts are usually picked up by someone).
For example, Windows recognises \ and / as a path separator but (I think) you'd have to change any backslashes to forward slashes for Linux.
There's a minor issue with the fopen() function - see: http://uk2.php.net/manual/en/function.fopen.php
AFAIK, differences are all pretty minor stuff like this relating to file systems - as you'd expect really. The php manual and user comments are worth a read (user comments may not always be correct, although the bad posts are usually picked up by someone).
Last edited by McGruff on Thu Aug 28, 2003 9:55 pm, edited 1 time in total.
Re: php in linux platform
paths in posix are all /irvine wrote:hi,
usually we use the php with the windows platform, then is it possible the php intergrated with linux platform?
how about the code in windows platform , is it need to change some code or re - code it???
thank you.......
ulike windows, you only need \n not \r\n but it'll honor that. umm... you can modify it to accept \ but otherwise it's only beneficial, the environment has no inherint memory leaks