Forum Moderators: coopster
For example, windows will let you specify a path with backslashes.
$path = 'path\to\file';
$path = "path\\to\\file";
Linux/Unix expects forward slashes
$path = '/path/to/file';
PHP is "smart" enough to let you use the forward slashes for paths, even when developing on Windows, so unless you have a compelling reason otherwise you should use the forward slashes.
File permissions are another big difference. If you're writing to files you'll need to account for Unix style file permissions on the server, which is something that won't affect you on Windows.
There are lots of other little differences which may hinder you. In general, the PHP manual is pretty good about mentioning little differences in the function definitions (for example, flock [us3.php.net]). Your best bet is deploy/test often to the Linux server. Once you start to learn the little differences you'll know to code around them in the future.