| |
| |
| |
|
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
Comments:
<0> TML, we do not have control of apche modules on shared hosting environments... <1> configure: error: pdflib.h not found! Check the path p***ed to --with-pdflib=<PATH>. PATH should be the install prefix directory. <2> lng: why are you still on about this? <2> lng: you've been given an answer. go deal with it and stop bugging people about it. <0> caffinated, b/c <3> KoMpLoT: You *did* installed pdflib before the PECL module? <4> lng: No, you don't. And you shouldn't. You also shouldn't have control of whether your app uses HTTP compression or not. That's for the *HTTPD* to decide, not the app.
<1> Stormchaser, Oh :S I believe it was installed by that script... sorry <0> TML, thank you! <4> lng: That's the same thing you've been told for approximately the last half hour. <0> caffinated, i didn't ask you about that^^^ <3> KoMpLoT: Nuh-uh... 3rd partty libraries aren't installed via PEAR... <4> We're not going to change our stance on the matter. <4> The application SHOULD NOT care about HTTP compression. <5> Gigs: are you trying to require_once the same file? or did i misunderstand? <3> TML: Have it... I'm dead tired... That's what's wrong with me today :( <2> did i say granite? I meant jello. couldn't be anything as solid as granite in there. <6> Jonnay: yes.. <5> err... <5> That is your problem. Try using require instead. <6> Jonnay: I was under the impression initially it would cause the variables to come into scope even if it had already been required elsewhere, and only supress duplicate function definitions <4> Gigs: You need to seperate things that can be included MORE than once from those that cannot. <4> Gigs: I'm curious where you got that impression? <5> Mm, nope, I think it does a comparison on the filename. <6> TML: someone on this channel <4> Jonnay: That's correct. It does a filename search. <7> what's the difference between " and ' in php? or is there one?> <6> TML: I don't remember who :) <4> mmiikkee12: php.net/language.types.string <5> TML: Good to know, I wasn't 100% sure on its semantics. <8> Gigs: Your impression was incorrect <6> Pollita: yes, I see that now <4> mmiikkee12: You really should read the first three chapters of the manual all the way through. It contains lots of important information.
<6> Just to confirm, functions require_once inside other functions do still appear globally scoped? <9> is there a way to determine from what state or province that a person is connecting from using their ip address? some php function or cl***es and for php 4.0 <5> functions are just globally scoped. <6> because if that is indeed the case I can do as TML said and make it into two include files, one with functions and one with variables <6> Jonnay: ok, excellent <5> Sadly, there is only one scope for functions. <2> Jonnay: you only need one scope. <6> Jonnay: it hasn't come up before because I've never tried to define a function inside a funciton before this :) <3> okay... Nap time :) <4> You shouldn't ever have functions inside functions. That indicates poor design. <10> ehh... what effect does exit have on php memory in mod_php? <4> sili: 17 <11> hi, if im trying to extra THISTEXT from a string link this: blabla=THISTEST&whatever=something ... what string function would i use to extract between blabla= and &whatever? <6> TML: yeah, we're well off the beaten path with this code :) <11> extract* <5> I beg to differ. <10> does it get cleaned up? <2> Jonnay: you may beg, it doesn't change anything. <5> but then, I like closures. <6> TML: but in general I'd be inclined to agree with you <2> Jonnay: you're talking about functions though, not methods. <4> Jonnay: PHP doesn't have closures <5> That is what I was referring to. <2> TML: I had an idea that I could implement them using runkit <4> caffinated: Possibly. What *can't* you do using runkit? <12> cdm0, parse_str <2> TML: well, it doesn't write my code for me yet, but I'm sure it's in the upcoming features list <5> You can emulate them with judicious use of static vars and create_function, but it isn't pretty. <2> Jonnay: not really, no.
Return to
#php or Go to some related
logs:
ubuntu vidix #osdev webcyradm performance aiglx i845 wingrub and suse #bash php4 xml_parse Unable to call handler suivroffrs fglrx xen_features #fedora
|
|