| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Comments:
<0> spiderr, ehrm. then i don't know.. try putting actual breaks in the string? <1> spiderr: I've seen that as well -- I think it's that the logging mechanism un-converts the line-breaks into \n -- It's a setting/feature on your logging system, and PHP is kinda irrelevant... <2> richardlynch, nod, thanks. this is several flavors of fedora. curiously, unconverted only show on php i have built via RPM or taball <3> Im having some trouble with a function: http://nomorepasting.com/paste.php?pasteID=63048&noLineNums=1&Seen=TRUE can someone give me a hand with it? <2> and both with oracle support <1> spiderr: There are settings in httpd.conf, I think, that might be doing it.
<4> Greetings. Is there a way to direct fputcsv() (PHP5) to standard out? <1> Crell42: $file = fopen("php://stdout", 'w'); <5> errr: you're not specifying an extension to call the file, i.e., 3.jpg... <6> Crell42: Sure. fopen() stdout <5> you're just calling '3', not a particular image <3> EvilWalrus: there is no such file <4> Ah, thanks. <4> Hi Richard! <3> EvilWalrus: 3 would be the array location <5> well, do a print_r($img); then <5> and see what you're getting <4> Yep. <7> TML: http://static.flickr.com/34/156672816_56b6230eab_o.jpg <8> Jymmm, is that one of yours? <3> EvilWalrus: an int like I should be, its position X of the array which is a random location in it <9> Good ****. <3> EvilWalrus: this round produced: Array ( [0] => 36 ) <8> Jymmm, if so, that's damn good, but what's the hole on the right for?
<5> um, doorknob? <8> oh, that's what those are for, huh? <8> Didn't know :) <5> i took some cool pics yesterday <4> Gr. Well that's annoying. <5> Davey: http://evilwalr.us/Pictures/early_morning.jpg <5> and... <1> Crell42: What's annoying? <8> nice EvilWalrus <5> http://evilwalr.us/Pictures/boat.jpg <4> $file = fopen("php://stdout", 'w'); foreach ($rows as $row) fputcsv($file, $row, "\t"); <3> EvilWalrus: any idea why when it trys to unset it doesnt work? <4> I'm getting an empty return from that. <9> EvilWalrus: you really need to get rid of that sign in the middle of the picture <5> Julian|Work: i know, i hate that <5> that angle was the only good shot i have, so, i just took it <1> Crell42: Add some error-checking. And you probably want \n after the loop, no? <1> Crell42: You could also be old-school and just use "echo"... <4> If I print each $row, it shows up in the output. <4> Meh. I have a PHP4 routine for doing CSV output. I figured I'd try using the PHP 5 native stuff on the ***umption it would be faster. <1> Crell42: Well, yeah... PHP sends everything to stdout by default, as that's how it works. <6> Crell42: Try checking the value fputcsv() returns <4> richardlynch: Indeed.
Return to
#php or Go to some related
logs:
explorer vanishing div #math kubuntu root unmounting a drive thecrowx irc server remote-control-ubuntu windows-xp #linux #css borg cube computer #web before starting kdm
|
|