Hi Chris, On Tue, 20 Apr 2004, at 18:01:04 [GMT -0400] (which was 4:01 PM where I live) you wrote: C> Do you? I prefer strongly-typed, compiled languages. I find that I C> make far fewer mistakes. We're getting off-topic...
Coming from a C/C++ background, I can agree, and that's why I really like PHP. The syntax is very similar and you have the option to explicitly type or not. >> HTTP/1.1 200 OK >> Date: Tue, 20 Apr 2004 17:28:23 GMT >> Server: SAMBAR >> Last-modified: Thu, 01 Jan 2004 19:56:39 GMT >> Connection: close Content-type: text/html C> The lines in your text should be separated by newlines, '\n'; C> however, on Windows, programs like Notepad don't recognize a single C> newline as the end of a line: they expect a carriage return C> followed by a newline, "\r\n". Try using a single newline to C> separate these and see what happens. Echoing these out once I've separated them from the single line I started with will be a piece of cake. With PHP there's just so many ways to do it. Inline with HTML <BR> tags, exploding, iterative array, substr, etc. What I needed was a way to break everything out of the single line into it's respective components. Substr doesn't work because they aren't always in the same order, nor is the strings always the same length especially if you have a site with a cookie. -- Cheers, Leif Gregory List Moderator (and fellow registered end-user) PCWize Editor / ICQ 216395 / PGP Key ID 0x7CD4926F Web Site <http://www.PCWize.com> TB FAQ <http://www.silverstones.com/thebat/FAQ.html> Using The Bat! 2.05 Beta/16 under Windows 2000 5.0 Build 2195 Service Pack 4 on a P4 1.6Ghz OC'd to 2.32Ghz with 512MB. Tagline of the day: My keyboard has an F1 key. Where is the NASCAR key? ________________________________________________________ http://www.silverstones.com/thebat/TBUDLInfo.html
