| |
| |
| |
|
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
Comments:
<0> the system is ENTIRELY oop, with cl***es for display objects even.. <1> follow up: Alright it looks like it isn't indexing the array by number, but by value so rather than $foo[1], it is $foo['sometext']; How do I refer to the values then so I can iterate through them? <2> EmilyLove: You can also use direct iteration instead of trying to guess keys: foreach($foo as $k=>$v) { do stuff } <0> EmilyLove, use both of them so that you can have the num and values in the array... yeah or what TML said <1> TML -- I sort of get it, but I don't get the $k->$v? what would I put there? <0> probably what TML said would be better <2> EmilyLove: php.net/foreach <0> $key->$value is what it is <1> thanks TML <2> I personally use $k and $v <0> yeah <1> hmm. I think I have it..let me try it... <0> heh, so if i posted a link to a pastebin with 1.1k lines.. would anyone actually bother to look through it to help me? :P <3> nope <0> :( <2> mordof: You should contact the user community and/or developers of "Issue Manager", rather than a general PHP support channel.
<2> We're not really that kind of help, here. <0> just incase anyone changes their mind.. in the first cl***: $this->s_***igned_to is the var that holds it <0> http://pastebin.com/708817 <0> TML, k <1> aha <2> mordof: We're more "Help you create your own" <0> i see. i would've attempted to make my own bugtracker, but tbh i didn't feel like putting the time and effort into it. anyway.. *heads off to the website* <4> how reliable is it to do something like $time = "2:30"; $adjtime = 12 + $time; <4> it'll return 14 <1> thanks for the help TML and mordof! It looks like I at least have something here now... <5> can anyone in here recommend an open source php/mysql message board that generates fairly clean HTML <5> or, dare I say it <5> VALID <5> HTML <6> VALID? HTML?! AAAAAAAAAAAAAAAAAAAAGH! <5> (gasp) from a bulletin board? <0> IamEthos, not from a free one, and I doubt any of the paid ones have it either <5> alright then <5> who wants to make a bulletin board <6> I remember seeing one <5> c'mon troops, rally up! <4> there are a couple that come very close, but i can't think of them <0> i've got a theme for phpbb almost complete that is entirely valid html, getting rid of unnecessary tables and such <6> that was purported to be "small, fast and clean" <6> but I cannot remember the name <5> someone recommended PunBB <0> never heard of it, i use phpBB <5> but apparently they are guarding national secrets with PunBB, because sessions aren't secure enough for them <4> gotta make sure you keep uodated on phpbb releases though <4> i got caught one day. <5> which makes logging in/out a pain in the *** <4> whole site got taken down with one of the several exploits. <0> :| <0> mikedub, ouch.. i'm .01 versions behind atm, but am a bit reluctant to update because I have modified the forums to work with my bugtracking system :S <5> who is so lame as to try to explot random bulletin boards? <2> mattmcc: Morn' <5> people are such losers <7> IamEthos: Everybody needs a hobby. <4> IamEthos: you'd be suprised <6> agreed. <5> mattmcc, mikedub, sounds like these people need a girlfriend just a little bit more than they need a hobby ;-) <6> My hobbies involve lots of screaming and loud explosions. Its all in how you look at it, really. <2> Better exploiting random bulletin boards than, say, raping children or slaughtering Jews. <6> Oh yeah, and lots of explosiives. <0> TML, good point <5> TML, not by much <5> wait <5> I'm going to hell for that <0> lol <5> I meant exploiting bulletin boards is especially lame <5> not that slaughtering jews and raping childen isn't that bad <8> explosives = good <8> KNO3 <6> How else are they going to demonstrate their l337ness??!!oneone <8> helps a lot <8> KNO3 + S + C <9> is portmap a known variable in PHP, so really as variable and not as function ? <6> IamEthos == IamEvil <2> MatBoy: What? <5> dear bulletin board exploiters. Go kill yourself.
<8> lol... what is the point of exploiting a bulletin board? <5> L1nX, that's what I asked <6> Spam ? <5> Teltariat, that's a good one <2> L1nX: I didn't follow the whole "KNO3" thing...what was that supposed to mean? <8> KNO3 = Pot***ium Nitrate <6> KNO3 is an explosive? <2> ah <6> thats what I thought. <2> Didn't come across without the subscript <9> TML, when I use the variable portmap in a foreach it can automaticly rename to ports to words <10> I built a spider for my site, and am adding options like "only index HTML or PHP files"... but then I ran into a problem when like domain.com/path/folder/ is the link... it likely retrieves index.xyz, but I don't know the filetype. Is there anyone to know this? <8> It is a oxidizer used to make most Pyrotechnic compositions <2> MatBoy: No it doesn't. <6> L1nX: lol, you know an awful lot about this stuff. **suspicious stare** <2> L1nX: Got it. I know what Pot***ium Nitrate is. <9> TML but why does this work than ?: <2> MatBoy: You did something dumb. <9> $portmap = array('21'=>'ftp', '80'=>'www', '3306'=>'mysql', '443'=>'secure www', '5432'=>'pgsql'); <8> lol... I am going to get a Pyrotechnics Licence soon <8> I'm already starting the road to getting it <6> nice, lol <9> TML, foreach($portmap as $port=>$portname) <0> MatBoy, why wouldn't that work otherwise? that's a proper array/loop <2> MatBoy: Go on... <9> mordof, I like to know why this can rename the ports ? <2> MatBoy: It can't. <0> -.- <9> it does <2> MatBoy: No it doesn't. <0> no it doesn't <9> it's working here <2> MatBoy: Because you're doing something stupid. <9> ||cw, gave me the idea <9> oops <9> damn <2> :) <2> Told you <2> No one ever listens to me when I'm right... <0> lol <9> but we tried with str_replace but that was a pain in my *** <10> so... about my question? :) <0> Kaitlyn, not sure.. <9> TML, but why does it work ? <11> Haha open notepad, type "this app can break", (without the quote), save it and try to reopen it <0> MatBoy, what are you doing inside the loop that supposedly works with only $portname? <0> bullrage, umm.. wth? <0> i got a bunch of japanese <11> mordof, yeh.. it's a bug/easter egg.. ironic <12> if I mysql_query(insert values), what would be the function to retrieve the ID it set for that entry (if the id field is autoincrement) <9> mordof, portname is a variable that will be parsed so you can readt FTP instead of 21 <0> MatBoy.. um, no it isn't <9> mordof, I have to 2 arrays. One with the ports, and the other one with 21=>FTP <0> O.o <9> Aha ! <9> now I see <9> the variable has been called portmap to make it more clear :D <0> ...... <9> mordof, fixed :D <9> thanks ! <9> or i mean... understood :) <0> um, ok.. np i guess <0> ok <9> no indeed, just to make it more clear. But I love foreach now :D <0> lol <9> :) <13> i need to change this line: $x = odbc_num_rows($rs); to ADO, but i can't figure out which member function to use. <14> is there a way to check and see if browser thats submitting data has cookies enabled? or that they are using the sesion that i ***igned to them? <15> what has happened to the search function on php.net? <15> it stinks to high heaven for some things <16> Oh man, I've had no sleep and I just had to drill holes for knobs in a few doors, I'm so glad I didn't mess up <17> is array_walk_recursive depth first? <17> and is the order guranteed? <2> megaman: Asking that sort of question leaves me thinking you're planning on doing destructive operations on the array being walked, and are looking for ***urances that such is ok.
Return to
#php or Go to some related
logs:
eggdrop compiler cannot create executables beginning kernel compile
#math bweliky @ gmail +ubuntu +how do i restart the network subtitle2pgm dapper missing #css ruby rails SystemExit exception daemon
#math rtorrent Illegal Instruction
|
|