Re: [PHP] Echo issue RESOLVED!
(Just FYI) On Wed, 29 Oct 2003 23:03:55 +0100 Ryan A [EMAIL PROTECTED] wrote: If I have said it once I have said it a thousand times..MAC's are evil. Step away from it and leave the darkness behind.come towards the light and thePC ...[snip]... Too bad for you... Just by reading this - http://www.apple.com/macosx/ esp. these last two sections: * Solid as a rock * Developer's dream would give people reason to consider and even switch... One of Japan's most prestigious universities, Tokyo University, just purchased 1,149 customized iMacs and 53 Xserves--all running OS X, of course. They weren't the first one though. A university in Nagoya City has also bought more than a thousand of those. Imagine this. I've just finished recording a re-run of Dark Angel. I've cut the commercials, added chapters, and now it's ready to render and burn into a DVD together with the previous episode (I can put two in one disc). While waiting, I'm listening to my fav music on MP3s and debugging some of my PHP scripts. Oh, and did I mention that I'm doing all of this while copying voice/music from cassette tapes to the hard disk so that I can turn them all into MP3s? And did I mention that you can do all of the above just by installing Mac OS X and one software called Toast? You don't even need to install Apache, sendmail, etc. (and of course PHP) for testing since they're part of the OS installation. Do you need to ssh to your remote server? No sweat. The terminal is part of the OS as well. There you can just run the ssh client and login to your remote server. Btw, you can *also* customize the looks of your terminal. I like mine semi-transparent, with a prompt that looks and feels like I was back in those DOS days ;) Yes, I can do those and more on my Mac. And it doesn't even crash on me even if I do many things at the same time. I could run it for months! The only time I really needed to reboot it is when I added a new Serial ATA RAID card. Now, I'm really missing the blue screen... Too bad, my Mac is only next to my wife when it comes to being sexy, gorgeous, and beautiful grin Still not convinced? Too bad for you... - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
- Edwin - wrote: Just by reading this - http://www.apple.com/macosx/ esp. these last two sections: * Solid as a rock * Developer's dream would give people reason to consider and even switch... Mac OS X is fairly stable, I'll give you that. As for developer's dream, that's a matter of opinion. One of Japan's most prestigious universities, Tokyo University, just purchased 1,149 customized iMacs and 53 Xserves--all running OS X, of course. They weren't the first one though. A university in Nagoya City has also bought more than a thousand of those. Yep, Macs are being bought. Same can be said for Intel-compatible hardware running Linux and Windows. Imagine this. I've just finished recording a re-run of Dark Angel. I've cut the commercials, added chapters, and now it's ready to render and burn into a DVD together with the previous episode (I can put two in one disc). While waiting, I'm listening to my fav music on MP3s and debugging some of my PHP scripts. Oh, and did I mention that I'm doing all of this while copying voice/music from cassette tapes to the hard disk so that I can turn them all into MP3s? And did I mention that you can do all of the above just by installing Mac OS X and one software called Toast? You don't even need to install Apache, sendmail, etc. (and of course PHP) for testing since they're part of the OS installation. With a DVD burner and video capture equipment. Oh, and my iMac doesn't even have a sound in port. Apache, sendmail, and PHP are also standard on most Linux distros. Do you need to ssh to your remote server? No sweat. The terminal is part of the OS as well. There you can just run the ssh client and login to your remote server. Btw, you can *also* customize the looks of your terminal. I like mine semi-transparent, with a prompt that looks and feels like I was back in those DOS days ;) Same for all Linux distros. Yes, I can do those and more on my Mac. And it doesn't even crash on me even if I do many things at the same time. I could run it for months! The only time I really needed to reboot it is when I added a new Serial ATA RAID card. Now, I'm really missing the blue screen... Linux is stable too. My iMac is dirt slow, and cost $1000. But I bought my old iMac back in 2000-ish. Maybe Macs have become better since then, I don't know. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
On Thu, 30 Oct 2003 02:47:47 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: - Edwin - wrote: Just by reading this - http://www.apple.com/macosx/ esp. these last two sections: * Solid as a rock * Developer's dream would give people reason to consider and even switch... Mac OS X is fairly stable, I'll give you that. As for developer's dream, that's a matter of opinion. Of course! But imagine your Super Graphics Designer decided to start coding. Where can you run QuarkXPress, Photoshop, Illustrator, Shade, Final Cut Pro, DVD Studio Pro, PHP, Java, Perl, Apache, MySQL, etc. ALL at the same time? That, without even worrying your OS might crash? One of Japan's most prestigious universities, Tokyo University, just purchased 1,149 customized iMacs and 53 Xserves--all running OS X, of course. They weren't the first one though. A university in Nagoya City has also bought more than a thousand of those. Yep, Macs are being bought. Same can be said for Intel-compatible hardware running Linux and Windows. True. But the ones I mentioned above were not bought just for casual use. Let's say, it's more for those mission-critical projects ;) Imagine this. I've just finished recording a re-run of Dark Angel. I've cut the commercials, added chapters, and now it's ready to render and burn into a DVD together with the previous episode(I can put two in one disc). While waiting, I'm listening to my fav music on MP3s and debugging some of my PHP scripts. Oh, and did I mention that I'm doing all of this while copying voice/music from cassette tapes to the hard disk so that I can turn them all into MP3s? And did I mention that you can do all of the above just by installing Mac OS X and one software called Toast? You don't even need to install Apache, sendmail, etc. (and of course PHP) for testing since they're part of the OS installation. With a DVD burner and video capture equipment. Yes. But the DVD burner comes as a standard these days. Oh, and my iMac doesn't even have a sound in port. Hmmm... I'm not aware of that. The new ones have though... Apache, sendmail, and PHP are also standard on most Linux distros. Correct. Do you need to ssh to your remote server? No sweat. The terminal is part of the OS as well. There you can just run the ssh client and login to your remote server. Btw, you can*also* customize the looks of your terminal. I like mine semi-transparent, with a prompt that looks and feels like I was back in those DOS days ;) Same for all Linux distros. True. Yes, I can do those and more on my Mac. And it doesn't even crash on me even if I do many things at the same time. I could run it for months! The only time I really needed to reboot it is when I added a new Serial ATA RAID card. Now, I'm really missing the blue screen... Linux is stable too. Of course! Don't get me wrong. I use Linux as well (both at home and office). The above was basically for people who think Macs are evil ;) My iMac is dirt slow, and cost $1000. Mine's fast, and it costs $4,000. And I'm about to have a FASTER one. The best thing is, I'm not the one who's paying for it (- company). Of course, I can't keep it but I can play with it ;) But I bought my old iMac back in 2000-ish. Maybe Macs have become better since then, I don't know. Yes, even iMacs are better. But imagine what you can do with a Dual 2GHz G5, 8GB of DDR400 RAM, a terabyte of Hard Disk space, Radeon 9800 Pro, an Apple 23 Cinema HD Display, and the latest OS X (Panther). Nah, I don't need all of that... but maybe I can convince my boss to buy it ;) - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
The devil will always give you lots of reasons to convert you Do not always take the smooth path, the rough path sometimes.. is the right path. :-D Cheers, -Ryan Oh BTW - Macs are EVIL. On Thu, 30 Oct 2003 02:47:47 -0500 Leif K-Brooks [EMAIL PROTECTED] wrote: - Edwin - wrote: Just by reading this - http://www.apple.com/macosx/ esp. these last two sections: * Solid as a rock * Developer's dream would give people reason to consider and even switch... Mac OS X is fairly stable, I'll give you that. As for developer's dream, that's a matter of opinion. Of course! But imagine your Super Graphics Designer decided to start coding. Where can you run QuarkXPress, Photoshop, Illustrator, Shade, Final Cut Pro, DVD Studio Pro, PHP, Java, Perl, Apache, MySQL, etc. ALL at the same time? That, without even worrying your OS might crash? One of Japan's most prestigious universities, Tokyo University, just purchased 1,149 customized iMacs and 53 Xserves--all running OS X, of course. They weren't the first one though. A university in Nagoya City has also bought more than a thousand of those. Yep, Macs are being bought. Same can be said for Intel-compatible hardware running Linux and Windows. True. But the ones I mentioned above were not bought just for casual use. Let's say, it's more for those mission-critical projects ;) Imagine this. I've just finished recording a re-run of Dark Angel. I've cut the commercials, added chapters, and now it's ready to render and burn into a DVD together with the previous episode(I can put two in one disc). While waiting, I'm listening to my fav music on MP3s and debugging some of my PHP scripts. Oh, and did I mention that I'm doing all of this while copying voice/music from cassette tapes to the hard disk so that I can turn them all into MP3s? And did I mention that you can do all of the above just by installing Mac OS X and one software called Toast? You don't even need to install Apache, sendmail, etc. (and of course PHP) for testing since they're part of the OS installation. With a DVD burner and video capture equipment. Yes. But the DVD burner comes as a standard these days. Oh, and my iMac doesn't even have a sound in port. Hmmm... I'm not aware of that. The new ones have though... Apache, sendmail, and PHP are also standard on most Linux distros. Correct. Do you need to ssh to your remote server? No sweat. The terminal is part of the OS as well. There you can just run the ssh client and login to your remote server. Btw, you can*also* customize the looks of your terminal. I like mine semi-transparent, with a prompt that looks and feels like I was back in those DOS days ;) Same for all Linux distros. True. Yes, I can do those and more on my Mac. And it doesn't even crash on me even if I do many things at the same time. I could run it for months! The only time I really needed to reboot it is when I added a new Serial ATA RAID card. Now, I'm really missing the blue screen... Linux is stable too. Of course! Don't get me wrong. I use Linux as well (both at home and office). The above was basically for people who think Macs are evil ;) My iMac is dirt slow, and cost $1000. Mine's fast, and it costs $4,000. And I'm about to have a FASTER one. The best thing is, I'm not the one who's paying for it (- company). Of course, I can't keep it but I can play with it ;) But I bought my old iMac back in 2000-ish. Maybe Macs have become better since then, I don't know. Yes, even iMacs are better. But imagine what you can do with a Dual 2GHz G5, 8GB of DDR400 RAM, a terabyte of Hard Disk space, Radeon 9800 Pro, an Apple 23 Cinema HD Display, and the latest OS X (Panther). Nah, I don't need all of that... but maybe I can convince my boss to buy it ;) - E - __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Echo issue RESOLVED!
- Edwin - mailto:[EMAIL PROTECTED] on Wednesday, October 29, 2003 11:26 PM said: [snip lots of nice things about mac osx] Yes, I can do those and more on my Mac. And it doesn't even crash on me even if I do many things at the same time. I could run it for months! Yeah but... it's a Mac. But seriously folks... The reason I don't like Macs is not because they don't perform well but it's because they have a retarded UI. It looks like crap and it works like crap. They do some of the most stupid things as far as user interface goes. Chris. -- Don't like reformatting your Outlook replies? Now there's relief! http://home.in.tum.de/~jain/software/outlook-quotefix/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Echo issue RESOLVED!
Chris, I seriously disagree with you, in my not so humble opinion OS X is really great. I currently only have Linux installed, but i've just ordered a PowerBook... However, I don't see the point in discussing this topic any longer. You won't change your opinion and Apple afficionados won't change their opinion either. I would like to suggest that you try Linux, BSD or OS X before you speak. Regards, Filip de Waard On Fri, 2003-10-31 at 00:32, Chris W. Parker wrote: - Edwin - mailto:[EMAIL PROTECTED] on Wednesday, October 29, 2003 11:26 PM said: [snip lots of nice things about mac osx] Yes, I can do those and more on my Mac. And it doesn't even crash on me even if I do many things at the same time. I could run it for months! Yeah but... it's a Mac. But seriously folks... The reason I don't like Macs is not because they don't perform well but it's because they have a retarded UI. It looks like crap and it works like crap. They do some of the most stupid things as far as user interface goes. Chris. -- Don't like reformatting your Outlook replies? Now there's relief! http://home.in.tum.de/~jain/software/outlook-quotefix/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
Sorry to continue this, but I just have to know... On Oct 30, 2003, at 6:32 PM, Chris W. Parker wrote: But seriously folks... The reason I don't like Macs is not because they don't perform well but it's because they have a retarded UI. It looks like crap and it works like crap. They do some of the most stupid things as far as user interface goes. You mean you're looking forward to this: http://www.neowin.net/staff/creamhackered/longhornbuild4051/ie.jpg and this: http://imac.taxrecords.com/mstearne/foghorn/explorer.jpg ? -- Chris Garaffa [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
However, I don't see the point in discussing this topic any longer. You won't change your opinion and Apple afficionados won't change their opinion either. I would like to suggest that you try Linux, BSD or OS X before you speak. On the bright side, Linux, Windows, and Mac OS X all run PHP. And this IS a PHP mailing list. So might I be so bold as to suggest the end of the Mac vs Windows vs Linux thread? (Since this is, um, a *PHP* mailing list.) Larry PS This thread also stopped being about ECHO a long, long time ago. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue
On Wed, 29 Oct 2003 11:56:11 +1100, you wrote: I have spent about an hour looking at this and have found I can't echo anything with 16 characters or less! It can be over a single line or multiple lines eg. ?php echo(12345678); echo(12345678); ? - but ?php echo(12345678); echo(123456789); ? -12345678123456789 Am I missing something really obvious here? In the old C days, buffering while writing to a file could give this effect. I have /no/ idea how that applies to your situation, though. Is it a CGI install? Are there any options for buffering data between spawned programs on your OS? What happens if you explicitly flush() after the echo? Sorry I can't offer anything more concrete. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue
Payne Wrtote: \n is what you are needing. \n means new line. So you want a new line you have to do this echo (abc\n); echo (Elm Street\n); echo (Anytown, NY 0 \n); to get abc Elm Street Anytown, NY 0 you can also use a printf then you can use html code to get the same br. You might want to grab you one for beginner C or PHP books, they usually all \ and example what are for. Or do a search on Google. Payne David Otton wrote: On Wed, 29 Oct 2003 11:56:11 +1100, you wrote: I have spent about an hour looking at this and have found I can't echo anything with 16 characters or less! It can be over a single line or multiple lines eg. ?php echo(12345678); echo(12345678); ? - but ?php echo(12345678); echo(123456789); ? -12345678123456789 Am I missing something really obvious here? In the old C days, buffering while writing to a file could give this effect. I have /no/ idea how that applies to your situation, though. Is it a CGI install? Are there any options for buffering data between spawned programs on your OS? What happens if you explicitly flush() after the echo? Sorry I can't offer anything more concrete. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue
Payne wrote: Payne Wrtote: \n is what you are needing. \n means new line. So you want a new line you have to do this echo (abc\n); echo (Elm Street\n); echo (Anytown, NY 0 \n); to get abc Elm Street Anytown, NY 0 you can also use a printf then you can use html code to get the same br. You might want to grab you one for beginner C or PHP books, they usually all \ and example what are for. Or do a search on Google. Payne *just shakes head* I have spent about an hour looking at this and have found I can't echo anything with 16 characters or less! It can be over a single line or multiple lines eg. ?php echo(12345678); echo(12345678); ? - but ?php echo(12345678); echo(123456789); ? -12345678123456789 Am I missing something really obvious here? Is this on Windoze or *nix? Sounds like some sort of buffering issue... what is 'output_buffering' set too in your ini? -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue
--- John Nichel [EMAIL PROTECTED] wrote: Is this on Windoze or *nix? Sounds like some sort of buffering issue... Yes, it does. what is 'output_buffering' set too in your ini? This shouldn't matter either. I can't think of a reason why he would see the behavior he describes. In fact, this reminds me of a debate on the dev list about a year ago. One of the developers (Yasuo) wanted this behavior to be the default behavior for the CLI. You can see a small part of that debate here: http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=UTF-8frame=rightth=ddf92ba5273191e9seekm=3DB8EF91.5070800%40ohgaki.net#link1 Basically, everyone else strongly disagreed, and this question would make it seem the other way around. :-) Sorry I can't offer more help. That example works fine in my environment(s). It might be worth searching and/or adding to the bug list. Chris = My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue
Chris Shiflett wrote: --- John Nichel [EMAIL PROTECTED] wrote: Is this on Windoze or *nix? Sounds like some sort of buffering issue... Yes, it does. what is 'output_buffering' set too in your ini? This shouldn't matter either. I can't think of a reason why he would see the behavior he describes. snip Me either...but it was the only thing I could think of that /might/ effect this in some way. I tried setting 'output_buffering' to 16 in my ini, and couldn't reproduce the issue. Let's blame it on either Bush or Clinton. :) -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
G'day Adam, David, John etc I have spent about an hour looking at this and have found I can't echo anything with 16 characters or less! I'm glad to report this is not a PHP issue. It turns out to be a Safari problem with Mac OSX (Safari was updated with OSX 10.3). All my PHP stuff is working correctly in IE so it looks like development will proceed there until Apple gets a fix. Cheers and many thanks for the replies kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
If I have said it once I have said it a thousand times..MAC's are evil. Step away from it and leave the darkness behind.come towards the light and thePC :-D Cheers, -Ryan (P.S in case you hav'nt guesseda PC user) G'day Adam, David, John etc I have spent about an hour looking at this and have found I can't echo anything with 16 characters or less! I'm glad to report this is not a PHP issue. It turns out to be a Safari problem with Mac OSX (Safari was updated with OSX 10.3). All my PHP stuff is working correctly in IE so it looks like development will proceed there until Apple gets a fix. Cheers and many thanks for the replies kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
--- Kim Kohen [EMAIL PROTECTED] wrote: I'm glad to report this is not a PHP issue. It turns out to be a Safari problem with Mac OSX (Safari was updated with OSX 10.3). All my PHP stuff is working correctly in IE so it looks like development will proceed there until Apple gets a fix. I would be very interested in learning more about this issue. Would you happen to be able to provide an example HTTP transaction that Safari mishandles? Also, do you know if Apple is aware of this bug? By the way, I would recommend developing with something like Mozilla if you can't use Safari. IE is about the worst choice for testing. Of course, you will want to test with IE at some point, simply because so many people use it, but something like Mozilla (or Safari) are much closer to being standards-compliant and can help you identify mistakes as you create them. Chris = My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
G'day Chris I would be very interested in learning more about this issue. Would you happen to be able to provide an example HTTP transaction that Safari mishandles? If you use a 'proper' html file it works OK. If you simply create a text file (with .html extension) with less than 16 characters it returns nothing. The html doesn't bother me much - and realistically most people will never see the problem - but I often use short echo statements for debugging in php. do you know if Apple is aware of this bug? They are now:) By the way, I would recommend developing with something like Mozilla if you can't use Safari. IE is about the worst choice for testing. Mozilla is fine also - I just happened to have IE open and tested it there... cheers kim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
On Thursday 30 October 2003 06:03, Ryan A wrote: If I have said it once I have said it a thousand times..MAC's are evil. Step away from it and leave the darkness behind.come towards the light and thePC :-D Cheers, -Ryan (P.S in case you hav'nt guesseda PC user) Define 'PC' and 'PC user'. BTW it's OT and a rhetorical question so don't bother. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* Here comes the orator, with his flood of words and his drop of reason. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Echo issue RESOLVED!
On Thu, 30 Oct 2003 10:00:51 +1100, you wrote: I would be very interested in learning more about this issue. Would you happen to be able to provide an example HTTP transaction that Safari mishandles? If you use a 'proper' html file it works OK. If you simply create a text file (with .html extension) with less than 16 characters it returns nothing. Hmm. If it's not too much trouble, could we see a copy of the HTTP transaction for the PHP file, and the equivalent HTML file? (eg echo (abc) against abc) I'm wondering if there are different or missing headers on the PHP file that are giving the Safari browser headaches. Um. Why is your post full of Euros? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php