Ryze - Business Networking
Home Invite Friends Networks Friends Events classifieds
Home

Sign-up

About Ryze


The PHP developers network

Top [This Network is not currently active and cannot accept new posts]
<- Previous Next ->

312 hits
Jan 15, 2004 4:46 pm re: Quick question from a beginner
Richard Snow
> Mark Rogers wrote:
> 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)?
>
\r should work in Windows

>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
>
>Mark

Private Reply to Richard Snow (new win)



Support   |   FAQ   |   What's New   |   About Ryze

© Ryze Ltd. Ryze is a trademark of Ryze Ltd.  Terms of Service, including the Privacy Policy