@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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 25 26



Comments:

<0> callipygous: a good way to get rid of notices is the lovely @ symbol.
<1> yeah, but it'll still be there in the back of your mind
<2> in the php,ini anyways
<1> adding the little minute stresses, that builds up over the years ;)
<2> I just wanted to know the proper way of dealing with it...
<2> so my code is decent enuff
<1> although not doing the isset and hiding the notices will work, the proper way is to do the isset().
<2> cool, thanks
<3> is there any way in gd to get cmyk values of an image instead of rgb values?
<2> yes, I am, why wouldn't I be? :P
<1> just checking :)
<4> exec($_POST['ownme']);
<2> Moi`, ?
<1> a performance optimisation question. is dropping out of the PHP processing (<?php ?>) to output HTML content faster than just echoing the HTML from within the PHP code?
<0> please. DO NOT ECHO FROM WITHIN!! arg



<1> any particular reason than just preference?
<4> accoustics?
<1> riiight...
<0> haha
<0> because its a bad habit.
<5> Gimp_: Shush
<0> bad syntax.
<1> what's wrong with it? ^^;
<6> deadroot: I doubt there's serious performance differences.
<6> The question would more be, "how long does it take PHP to flush output to stdout" maybe.
<1> okay
<0> deadroot: if you do it outside, it should output it before the php gets going
<7> startkeylogger
<7> oh well
<7> so, what will PHP 6 do for me?
<8> deadroot, have time ?
<5> PantherMachina not a damn thing
<6> Jymmm: ping?
<1> Ox41464b: yeah
<0> hahaha
<0> awe.
<6> Jymmm: Is the ban still in effect?
<8> if you were asked to Finish Question #2, how long will it take? http://satria.web.id/files/task.html
<5> kuja which?
<0> rofl
<1> damn. i'm missing my mouse atm...
<6> Jymmm: The IRC worm thing, the Windows one with the 'keylog*' stuff
<8> Jymmm, kuja, Gimp_, or the other, please *help*
<5> kuja: till hell freezes over and thaws again.
<6> Jymmm: Well, PantherMachina just violated it.
<0> haha
<0> die PantherMachina ! die!
<8> deadroot: :(
<6> caffinated: Oh? Sweat
<5> kuja ?
<1> Ox41464b: what is this binary version?
<6> caffinated: I would totally use irssi if it supported a Ruby interface :)
<8> deadroot, no clue*
<6> Jymmm: See PM
<0> yah
<8> *its for testing someOne abilty (or interview)*
<1> i have no clue either ^^;
<6> Didn't want to repeat it in the channel.
<0> Ox41464b: we can't really gauge that, without more information of exactly what you need to do
<8> i want to give him a reasonable timeline to finish that
<9> kuja: make one.
<8> Gimp_, so i must give them clue about that binary format also ?
<1> Ox41464b: i don't understand that question at all
<6> caffinated: I would, but my lack of C prevents me. Still on the track of learning though :)
<0> yah
<0> Ox41464b: that doesn't really say what they need to do..
<6> caffinated: For now I'll have to live with X-Chat's ****ty Ruby interface :(
<10> hi all.. I've created a script that gets a text from a textarea and apply the nl2br... but php put's \ in form of some chars like ' How do I remove them?
<9> kuja: hell, living with xchat is just ****ty to begin with
<8> hm... ok
<6> caffinated: Oh, I also heard no one is stupid enough to **** with the irssi C code lol
<0> Sysop_Kn1F3: don't use nl2br then, use a preg_replace("\n", "<br />", $str); or something



<11> hi, if someone can help I have a recursion problem http://rafb.net/paste/results/nwfG4k86.html
<11> basically I want to build ( or display ) a collapsable tree from that array
<0> CraZyLeGs: have fun o.O
<10> ok thanks Gimp_
<5> kuja: thanks
<11> I'm having fun for like 3 hours now
<6> Jymmm: np
<0> hehe
<0> CraZyLeGs: that array has no set format though..
<0> its all random
<11> ?
<0> try orgranising the different levels, then just had it loops through
<10> I have a string with many lines.. how do I get the N line?
<0> Sysop_Kn1F3: uhh what?
<11> it is organised just look closer
<0> Sysop_Kn1F3: "\n" is a line break...
<11> childs of a node are within [childs]
<6> Sysop_Kn1F3: You have to split the lines first.
<9> kuja: http://pp.kpnet.fi/blaze/files/irssi-win32-standalone-0.3.exe
<11> parent of a node is in [parent]
<6> caffinated: I'm on Ubuntu :)
<11> actual information of a node is in [page]
<1> CraZyLeGs: i don't think you need to keep track who the parents are in the data
<0> CraZyLeGs: ah ok, sorry, couldn't see enough of the array, the text size was too big
<9> kuja: oh, ok
<5> kuja: I'm on your GF
<6> Jymmm: I'm on yours.
<10> I used $result = preg_replace("\n", "<br />", $text).. now how do I split... that in the <br>s so I'll know what part is what line
<11> deadroot: I need it in some other stuff
<0> kuja: Jymmm: both your GFs are on me!
<1> CraZyLeGs: have you considered how are you going to handle the HTML output? threaded forums aren't simple
<9> kuja: that guy did a nice job of packaging it - stripped it down to exactly the components from cygwin that were needed, and then added rxvt so you don't have to deal with the crappy cmd.exe shell
<0> schwaaa?
<0> Sysop_Kn1F3: what?
<6> caffinated: Really? No more cmd.exe? Sweat :D
<11> deadroot: throu <ul><li>'s or some str_repeat('&nbsp;',$level);
<0> Sysop_Kn1F3: that makes no sense... what that preg replace will do, is change all line breaks into <br />
<10> well... i have a textarea. After the form is post I use php and do: $result = preg_replace("\n", "<br />", $text)
<0> ok
<10> but now.. I need to put a prefix on some lines
<0> i think i know what you mean
<10> before show it
<0> uhh
<9> kuja: it allows the irssi window to be dynamicly resizeable, unlike the regular command window
<0> well thats a whole different story.
<1> CraZyLeGs: i suggest trying to write a static output first before trying to write the code to create dynamic output
<10> is?
<6> caffinated: Yeah, I hated that.
<10> 0.o
<9> Sysop_Kn1F3: don't use regex for that. use str_replace
<6> Or nl2br()
<9> or that
<10> but for each line is a different prefix
<6> Which does the exact same thing that regex does.
<10> how do I put the prefix on the lines?
<9> actually, his regex does nothing except error
<6> Right, no delims, forgot :)
<11> deadroot: http://rafb.net/paste/results/SQmQzR66.html here is some code I use to display the full tree
<6> Sysop_Kn1F3: Well, if you want to add some sort of prefix, then regex may be a good option.
<11> now I just want the tree to collapse
<10> ?? str_replace
<1> must you use that pastebin? i don't have a mouse with me at the moment. >__<
<6> Well, actually, still str_replace is better.
<5> $string = $prefix.$string;
<5> ==
<5> ===
<5> ====
<1> CraZyLeGs: ah, ic. but <ul><li> doesn't look nice
<10> I'm tooo begginer to even try regexpl
<6> $str = '<prefix>' . str_replace("\n", "\n <prefix>", $str);
<10> Jymmm I don't have a $line dude.. that's my problem
<10> kuja each line have a different prefix
<11> deadroot: well that's not the problem, I just showed an exemple
<5> Sysop_Kn1F3 explode


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

ubuntu use File::Basename; perl
php undeclare function
#centos
kdestartconfig
gplflash vs. gnash
cluew extra
dapper removing gnome
#fedora
turning off IPv6 ifconfig fc5
debian aliases aliases.db postfix courier



Home  |  disclaimer  |  contact  |  submit quotes