Is it possible to do something like this: $cr = "\n"; if ($cr == "\x0D"){ $platform = "Mac" }else{ $platform = "Other" } or is this just a lame idea. Thanx... I don't have a Unix box so I cant check myself. Power Mac Pac 2233 NE 244th Bldg C-4 Wood Village, OR 97060 503-667-0912 800-460-8080 http://www.macpac.com/default.html