| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Comments:
<0> no i mean my phpinfo() says a FTP is there <0> the php.net/ftp_connect doesn't say about it being built in or not <0> itsays you have to specify --with-ftp if using php3 <0> im using php5 <1> . <1> well <0> ****, ok i didnt install it <0> damn <0> ok nevermind i did :P <1> it's built-in, but PHP has to be compiled with the --with-ftp switch <1> if not, it won't have it, though built-in <0> ok lemme check one second <0> time to recompile ;-( <0> damn <0> i did a ports install also <0> shiznit
<2> Warning: DOMDocument::load() [function.load]: I/O warning : failed to load external entity <-- ? <3> can anyone point me to the all purpose mod_rewrite rule so everything foo/bar/foo.php?foo=bar&bar=foo gets turned into foo/bar/foo/bar/foo/bar and so on? <4> does anyone know of an article that describes the rationale for using "bbcodes" instead of html? is it more than "security through obscurity" <5> try #apache <5> jonez no, see the following.... <5> !+xss <6> [XSS - Cross site scripting] NEVER accept user input without some type of filtering . See: http://en.wikipedia.org/wiki/XSS and http://www.technicalinfo.net/papers/CSS.html <3> Jymmm: #apache is usually so quiet.. <5> !+g8 <6> Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here. <3> but you sure know how to operate the bot.. <5> kombi Yes, because so many ppl keep whining about the same things over and over again. <3> a simple "I don't know" can safe a lot of bandwidth there.. <5> jonez: If you "must" let ppl enter in html, you should use something like bbcodes. It's a huge issue (xss that is) and can casue all your visitors to get exploited and virsues. <7> Hey, why does (is_array($this->attributes) ? $this->attributes = $attributes : throw new Exception("\$attributes must be an array",100); return a syntax error? <7> on throw <7> oh i nkow <7> *know <7> sorry.....dumb mistake <7> no wait...the missing closing bracket didn't fix it <7> i get unexpected T_THROW <5> why are you doing an ***ignment within the ternary TRUE section? <7> Jymmm, screw it...i'll just use a regular if-then <7> but why is it a problem? <5> lol <7> just for reference <5> nfc <7> huh? what does nfc stand for? <5> !+nfc <6> [NFC] No Fscking Clue <7> oh <8> fscking? you arent allowed to say fsck as **** if you cant recite its comand line flags! :o <7> numist, i was just wondering that <7> lol <8> >_< <8> I'm going to die, arent I <9> eventually <5> numist: Dont blame me... talk to the bot onwer. <7> slowly but surel <5> numist But, just to make you feel better.... You are a ****ing prick of a scum ****ing leech! (how's that?) <8> :D <8> wait.. leech? <8> I am not a leech, that is far too low! <5> Now, you must die! <10> that makes me feel a little ***y <8> aw, damn <8> oh well <8> whoa, I'M ALIVE <11> is there a trim() for arrays? <7> numist, no you're dead, you're life is just flashing before you <8> for () { trim() } <11> i want to remove empty.. elements or whatever <8> oh <8> Viper007Bond: copy the array to a new one, omit the old elements in a loop <11> ah, okay, so gotta do it manually <11> np, thanks <8> np <12> if(!($ct%5)){ ... } means that if a number is divisble by 5 do ... right? <8> (I'm not a leech! :P ) <8> lith: yes <5> yes you are
<8> :( <8> that really hurts <5> numist and your point is? <12> right on thanks <8> :( <8> you're mean! <5> numist again, your point is? <8> *shrug* <8> who else has a freaking problem, damnit <5> lol <5> Man, they make all these CMS to full of bloat. <5> s/to/so/ <8> its true :( <8> current bulletin boards make me sad <8> and the development for phpbb2 is completely stalled <7> i'm having some OO problems, here's the code: http://pastebin.com/649030. For some reason, $this->label isn't getting the value of $label from the parent cl***. <5> **** phpbb, the damn thing is a security exploit. <8> I KNOW <8> but what else is there... <5> sms <5> Actually a few ISP's are banning the use of phpbb on their servers. <5> quite a few in fact <8> as they should <5> err SMF, not sms <8> oh well <5> http://www.simplemachines.org/ <13> can someone recommend me a good page to learn html <8> I'd just be making a stereotype of myself if I tried to write a new one.. <5> !+html <6> well, html is not PHP. Try http://www.w3schools.com/html/ and google.com/ <13> thanks bot;) <5> tama00 also try #web for help with html and javascript <13> kk thanks;) <14> alright, is there a similar function to move_uploaded_file() that will copy a file, as opposed to moving it? (also, i'm aware of copy(), but i was wonder if there was a safe_mode-aware version of it.) <15> prium: what would be the point? <7> would it be a problem if i re-asked my question? <12> prium: its in a temporary location when uploaded anyway... Is there a reason why you'd want to leave it in a temporary location? <15> prium's question apparently did have no point. <7> mine does :-D <7> im getting annoying :( <15> majd: I'm not overly familiar with php5 oop. Is a private variable available to a child cl***? <12> majd: no, but sub-conciously now that you said that, were all going to think your annoying ;) You create your own reality <7> lith, that's some deep **** <7> CryWolf, touche...it's too late for me to figure that out <12> Yes, a private variable is availiable to an extention of a cl*** <7> lith, no it's not.....not that i know of <7> i just tested it...it's not <12> majd: no? lemme test that <15> majd: $label also looks like it has no default value. <15> majd: nevermind, I didn't look to see that the parent constructor is being called. <7> yup <7> i just changed $this-label to $this->getLabel() and surely enough...it works <15> majd: easiest way I can think of to test is by putting get_cl***_vars in a few places. <12> well kick me in the ***... your right <15> majd: looking at the first paragraph of http://us2.php.net/manual/en/language.oop5.visibility.php it looks like you want protected, not private. <7> CryWolf, it works by using the accessor functions i wrote <7> i just forgot to use 'em <7> it's wrong to use variables inside strings am i correct? <7> i'm supposed to use the ".." thing <15> it's not wrong <7> looks like a pig....kinda <7> ".." <5> majd $greeting = "Hello $name, how are you this $timeofday?"; <5> majd: I use a mix of single, double, embedded vars dependingo on the context. <7> so using $html .= "<option name=\"$k\">$v</option>"; as opposed to $html .= "<option name=\"".$k."\">".$v."</option>"; are identical? I know they have the same output, but i remember once that doing the first way was "bad practice" <7> *...remember once reading that... <5> majd: I personally AVOID having to escape chars, I just hate the look of it. <16> majd: I like the first way much more than the second. <7> yeah i kinda do too <7> i just thought it was...well...wrong <15> majd: I think the second form is the worst practice. There's also 'foo"'.$bar.'"baz' which avoids escaping quotes, but you can't put variables inside single quotes. <5> majd: this is what I would do: $html .= '<option name="'.$k.'">'.$v.'</option>'; <7> oh i see
Return to
#php or Go to some related
logs:
cast in php #debian lemmonparty.com #debian entrance rc-update samba fix ubuntu dj ssj5 debian module assistant ati rage mobility #suse #bash
|
|