| |
The PHP developers network
604 hits
Jan 14, 2004 11:51 pm |
|
Quick question from a beginner |
Mrchillisauce
| |
Hi All,
I've just joined this tribe as I started learning PHP yesterday. I am an experienced ASP developer so I am picking things uo quite quick from PHP in easy steps (an excellent book given its under 10 dollars!!)
I am using windows 2000 with apache, php and mysql installed.
I have written a program that writes lines to a text file.
I cannot get it to do a carriage return at the end of the line though... I am using \n but it just comes through as a funny square... is this because \n is for the Unix file format? If so what is a character I can use for carriage return that works in windows (or preferably both windows and unix)?
Another question is, are there many differences in programming PHP on windows and unix? What are the pitfalls I would need to look out for transerring my code from a windows machine to a unix machine?
Thanks
MarkPrivate Reply to Mrchillisauce (new win) |
|