@# 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 27 28 29 30 31 32



Comments:

<0> lig you won't know till you try
<0> (and me with camera in hand)
<1> lol
<2> What - to break the lense Jymmm :)
<0> Hmmm, strange.... mozilla still parsing CSS even with JS disabled.
<0> lig hardly
<3> Jymmm: why wouldn't it?
<1> Jymmm what does JS have to do with CSS ?
<0> Though I did get a lil scare today... Had to setup up lighting for a reshoot, see a spec in the viewfinder, switched lenses and it's still there!!! Lucky enough it blew out of the body.
<4> What's zircus?
<3> i dont break lenses very often
<5> Heh, Dont point your duster configuration toward your toasting modifyer
<0> lig Hey, as long as they're not touching your knees, it's alright =)
<2> What - to break the lense Jymmm :) Jymmm: why wouldn't it?
<0> zircu s/dont break/shatter/



<2> Jymmm, I'm not that old yet - give me a year or 2 though ;)
<0> lig buttin a scalpal cant fix =)
<0> nuttin
<3> if we did a asl, we'd be on the high side lig
<4> hehe
<4> How old are you guys?
<0> 135
<5> im 12
<4> Psh I so beat you
<2> Jymmm, for some reason my husband doesn't mind me considering surgery.. go figure
<0> lig agmentation, no. touchup, sure.
<6> you'll be 29+1 next year eh?
<2> zircu, we aren't that old
<3> hmm i like older womem
<4> I'm Methuselah I'm gonna be 910 next year
<4> I hear I die in about 70 years
<0> zircu we told you to stop hanging out at the geriatrics ward of the hospital!
<2> zircu - I thought you were older then me?
<2> And Jymmm it would not be augmentation - I have enough naturally... an aching back isn't on my todo list
<0> lig =)
<7> ok, now i actually DO have to set up a counter. I haven't done this before.
<8> .
<7> will a while loop just go through an array once?
<9> hey
<0> !+f while
<10> Try looking at http://php.net/while
<9> I noticed that one of my server has something strange
<9> when I submit a form
<0> !+enter
<10> Don't use the enter key as punctuation. Think in complete thoughts, then type.
<9> all the box names appear as vars
<9> can anyone point me to more info about this?
<3> Jymmm: isn't there a regex coach link or something?
<0> zircu yeah...
<0> !+mre
<10> [MRE] 'Meal, Ready to Eat' used by the military in the field and others during a disaster as they have a long shelf life. But you probably wanted 'MRE - Mastering Regular Expressions' the bible of regex http://www.oreilly.com/catalog/regex2/ Use this utility for learning/understanding/troubleshooting your RegEx --> http://www.weitz.de/regex-coach/
<3> via the !+command thing
<0> !tell DirectQL about enter
<3> that is an odd place :)
<0> zircu not really.
<9> anyone?
<11> Xorlev: why are you versioning me ?
<12> Hit wrong popup button :P
<11> ok
<9> For some reason one of my servers accepts all submitted POST vars as actual vars instead of part of _POST array. Does anyone know what it's called?
<0> !+registered globals
<0> !+register globals
<10> You may have a register_globals issue. Read the following thoroughly: 1) php.net/variables.predefined 2) php.net/variables.external 3) http://www.snipe.net/content/php_stuff/globals.php 4) http://php.net/register_globals
<9> thanks
<7> i can't tell which control structure i need to use to loop through only 1 'dimension' of a multidimensional array.
<3> NBrepresent: usually a foreach()
<13> ("\\[whisper\\:(\\w+)\\]","<i>") can anyone see a problem with that regexp
<7> i found this example, which looks like what i need: for($i=0;$i<=count($Array);$i++) {
<7> print "$Array[i]<br>"; }
<3> NBrepresent: no use php.net/foreach
<3> Zelnen: sure.. you dont have a delimiter
<7> but i don't understand it. i've read that page.
<9> Jimmy, i don't think that's it
<3> NBrepresent: foreach($Array as $i => $var) { $Array[$i] == $var }



<9> Jimmy: i switched globals on and restarted the apache and nothing
<7> i find the $var confusing
<7> in the 'for' example, it's just the i, which is incremented, so it seems easy to follow
<3> NBrepresent: then name it $array_value
<14> DirectQL: When register_globals is on, you can access $_POST['foo'] as $foo. That's what you said is happening, so yes, register_globals is on.
<9> well yes and no, i am trying to turn it on on my other servers
<3> NBrepresent: people think if($var == 'something) is confusing, it shouldn't mean you can't understand it
<9> BigE: what's the proper procedure for turning it on? chaning php.ini and restarting apache, right?
<14> DirectQL: Yes, but you shouldn't have it turned on.
<14> Having it turned on can allow you to create code to have security holes in it.
<7> ok, how about i'll write out what I need this way, and if you want you could show me what the exact same code looks like using the foreach loop instead?
<3> and confusing code
<7> i think that way i'd get what was going on
<3> NBrepresent: i'm not sure how much clearer i can present it
<9> BigE, why? it's for an intranet site
<15> hrmm
<15> i got my select_stream working, but it doesnt seem to be using fwrite properly now :(
<3> DirectQL: that doesn't matter about security holes
<14> DirectQL: Because of the variable order... you're not running as big of a risk using it on an intranet site, but just be aware that the risk is there.
<3> DirectQL: you have a <input name="something"> in your code you do $something = ''; and then later in the code you expect the $something to be filled out from the form request
<3> i would consider it more of a big risk on intranets, they usually have more sensitive information
<9> zircu: this is not really that sensitive, but I am aware of the risk, they're obvious
<9> thanks everyone
<3> hmm
<3> php 5.1.x should remove globals :)
<14> They'll be removed in 6
<14> at least.
<3> to late imo
<15> ugh
<15> anyone know the irc protocol well?
<3> zinor: nope
<15> keep getting "registration timeout" :(
<16> zinor, do you reply to ping with pong?
<15> i dont see it sending me it, hrm
<15> it doesnt send it til after you do user/nick, right?
<7> ok, this code isn't working right now, but it gives an idea of what i'm trying to do: http://perry.pastebin.com/710112
<15> http://pastebin.com/710114
<7> with a foreach, it'd be like changing the 'i' in the array index? i could do that?
<15> http://pastebin.com/710115
<7> because that's what i want
<17> if this is a serialize() value, how do I save the key of the array to a variable?
<17> a:1:{s:9:"Archangel";i:3;}
<14> zinor: Have you looked at the RFC? That will tell you why you're getting that error.
<15> unseriallize?
<15> BigE, well I'm doing everything like I was earlier is what I don't understand
<17> zinor, sure, but unserialize() will create an array
<17> so I guess, the question is
<15> IamEthos, and it doesnt give you the key in the array?
<14> zinor: Do you know what that error means?
<17> how can I store the name of a key as a variable?
<15> foreach array as key => value
<17> zinor, I'm going to have to print a list of each key in the array
<15> so use foreach
<15> or array_keys
<17> how do I just use the key value?
<15> i think is the func
<15> either way
<15> just doing foreach is prob fastest
<18> array_keys returns an array
<18> so you'ld have to foreach that anyways
<15> ya
<17> zinor, okay, I get that. but, for example
<3> NBrepresent: http://perry.pastebin.com/710118
<17> if I want to print the name of a key
<17> how would I do that?
<15> what's the problem ?
<18> zinor told you already: foreach($array AS $key => $value) { echo $key.'<br />'; }
<17> if I do echo $array['key']; it prints the value for that key
<3> NBrepresent: your array of array of array stuff is more confusing than anything, if you can figure that out a foreach will be much easier
<17> but I don't want to print the VALUE of the key
<7> zircu: thanks a lot. this is much easier to understand than the other example.
<17> I want to print the name of they key
<15> so what do you want?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

kde cannot move window
ubuntu ATI Technologies, Inc. Rage 128 Pro Ultra TF
w3m yum rhel
xen-updater
Mplayer Gentoo your system does not support the XShape extension
acroread ubuntu cannot execute binary file
alter all tables mysql
#linux
qshape gentoo
#css



Home  |  disclaimer  |  contact  |  submit quotes