| |
| |
| |
|
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 27 28 29 30 31 32
Comments:
<0> kuja, not at all - I actaully know how to do Concatenate, just I didn't know it was called that <1> omina, oh gd2, sorry. <2> omina, http://php.net/imagecolorallocatealpha <1> omina, check out http://us2.php.net/gd <0> so when you said Concatenate the string, I didn't have a clue <3> how do i do a for loop? <3> for ($i=1; $i == count($line); $i++) <4> CrazyTux: its says something like "transparant color" but i dont get it to work. <5> deadcat: Yeah, something like that. <1> deadcat, what do you mean "how" ? <3> that loop i have dont seem to work <1> deadcat, why whats wrong? <3> i am not sure yet.. very strange loop <1> deadcat, what are you trying to do [expected results] and what are your [product results] ? <6> deadcat: that'll only be executed once.. for ( $i = 1; $i < count ( $line ); $i++ ) should work though <7> Hey
<3> berry__: ah <7> I have some cachegrind output from xdebug <3> i am tring to display my running distrances <7> What is the unit of the 'Time' output? <1> sjamaan, whats it look like? <7> Normal Valgrind it would the number of CPU instructions, but I don't think xdebug counts in CPU instructions <2> omina, $black50 = imagecolorallocatealpha($image, 0, 0, 0, 64); imagefilledrectangle($image, $x,$y,$w,$h, $black50); <7> CrazyTux: 77,572,300 <7> It isn't seconds either <3> berry__: ya. the > works. i rarely use for loops. (= <2> er <2> not w / h ... x2/y2 <7> -------------------------------------------------------------------------------- <7> Time Memory <7> -------------------------------------------------------------------------------- <7> 12,104,310 14,070,944 PROGRAM TOTALS <5> deadroot: Ever heard of foreach? <5> err, deadcat ^^ <7> I ***ume memory is in bytes, but the time's a mystery to me <1> sjamaan, did you check the docs? <3> CWhiz: ya. i use foreach alot. but i want it to skip $line[0] for this time <7> CrazyTux: The docs tell me to use some lame*** graphical front-end <8> heh <5> deadcat: I see. Another option would be to unset($line[0]), just in case that makes more sense to you. <3> ah <2> or array_shift() :) <5> :) <2> cause unsetting wont reindex <5> And they say perl has a lot of ways to do stuff... <2> php copied lots of stuff from perl ;) <9> poncha|laptop, like <2> Ciantic, like... regex? :) <2> what do you think PCRE is? <9> poncha|laptop, because perl regex is universal standard these days <5> Nonsense. PCRE copied perl, and we copied PCRE :) <9> its not copying, its using brains <1> sjamaan, not sure... was looking through the docs, but haven't found much <7> CrazyTux: It's just not documented? <7> Time to UTSL <2> Ciantic, well, perl is mostly about regex :) most of stuff you write there you do with regex.. ;) <2> apart from its auto variables and reference models crap... which i dislike ;) <1> sjamaan, http://www.xdebug.org/docs-settings.php#show_mem_delta <7> CrazyTux: ? <1> sjamaan, xdebug.trace_format [integer] (default: 0) (Xdebug 2) look at that heading <7> CrazyTux: Doesn't tell me much <7> I already formatted the output using cg_annotate <7> I'm looking at the source <1> Hmmmm <7> Looks like it's reporting in msec <7> But that's impossible <2> Mr_Kyiv, "Stolichnaya" kinda ***ociated with moscow ;) hehe <2> Mr_Kyiv, although ukrtel.net might have rang the bell earlier :) <10> yes, i'll be going through the tedious process of rebranding :) <2> :)))) <10> besides, i'm more into plants <10> hehehe <11> how would I most easily map '01A' to '011' for example, without being sure if the 'A' would actually be there? <10> poncha|laptop, it appears that you, on the other hand, don't pertain to any country... :) <12> yereth, ? <13> hi!
<12> hi <2> Mr_Kyiv, i am pretending to be independent :) <13> anyone can tell me how can i get the file chomod()? <12> alecs, you mean chmod() <10> hello alecs :) <13> i saw on function.chmod.php <2> Mr_Kyiv, in fact i'm not in europe even... i am in the middle east :) <13> but i need to detect myself <12> alecs, you want to know permissions? <10> alecs, you're from romania <2> lol :) <2> alecs, you dont know who you are? :) <13> eml: yes <10> poncha|laptop kind of sounds south american <10> poncho <6> ce fac? <13> berry__??? <2> no.. poncha is a bit changed "ponchik" :) <11> eml: well, I need to map a possible string to an integer <12> alecs, http://se.php.net/manual/en/function.fstat.php and stat, check it out <13> berry__ ce fac? sau ce faci ?:D <10> poncha|laptop, middle eastern country with russianized nicks - are you from kazakhstan? <2> Mr_Kyiv, israel :) <10> haha <10> ok <10> what's your status? <10> not too much noise pollution where you live? <2> emm... citizen <10> no i mean, the whole war situation etc... <2> ah :) <10> btw, happy elections... ? <10> :) <10> bye bye stolichanay <2> crappy elections :/ <14> I'm actuall also russian from Israel <14> +y <10> Vasily, unknown mode <14> I meant actually (no y before) <10> oh ok <14> lol <10> sorry, i've been staring at the console all morning :) <12> what do you draw images with using php? where can I read about it? <9> eml, amazingly bad formed question <15> hehe <12> Ciantic, true true <12> and I cant form it any better, I think. <2> eml, php.net/gd php.net/imagick <15> eml, google php images <12> :] <12> thanks both <12> well, which one is recommended? <9> depends on the moon phase <15> and the alignment of mars <9> i've been using gd <12> ok :p <12> im trying gd now too, but I cant use the example on php.net <12> http://home.eml.nu/index.php just gives errors <12> probably because I should have button1.png <12> ah, it worked :) <9> eml, brain streaming your thoughts to irc, is in more cases than not, slowing your work. <12> ok ill shut up <13> evrika!!! fileperms is better :D <13> http://se.php.net/manual/en/function.fileperms.php <16> howo do you insert a sting in the middle of a variable that is a string, for example if $foo = '123', how do i make it $foo = '12newstring3'? <9> Zend, in the ***ignment, or with substr <9> Zend, if you have $newstr = "newstring"; $var = "1{$newstr}23"; or with substr if you don't set the var <17> is posible to extract just the text from a html page? <6> _marian: $withoutHtml = eregi_replace ( '\<(.*?)\>', '\\1', $withHtml ); <9> berry__, no <6> _marian: or somethin like it. <9> strip_tags :)
Return to
#php or Go to some related
logs:
pre-hire eval
mysqldb gcc: cannot read specs file for arch `i386' eric4 globals ubuntu /var/run/ automatically deleted #perl kismet wg311v3 buslogic centos5 Illegal seek cygwin solved mysql alter table add auto_increment 5dwm setup
|
|