@# 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 33 34 35 36



Comments:

<0> dragan: Doesn't appear to be available as a PEAR package.
<1> Elazar: Did'
<2> Pimpachu: might seem silly, but try '"C:\Program Files\etc.."'
<1> The \\ didn't work
<3> does anyone know how to used AES_ENCRYPT from mysql with phps mcrypt?
<0> Pimpachu: Hm... not sure, then. I've never had a problem with spaces in directory names that I can recall.
<3> does anyone know how to used AES_ENCRYPT from mysql with phps mcrypt?
<3> christ
<3> sorry
<0> absentia: You might check the output buffering-related settings in your php.ini.
<2> hehe
<4> Elazar: this link claims that is possible to do it with pear: http://www.pdflib.com/products/pdflib/info/PDFlib-in-PHP-HowTo.pdf
<3> im going to kick myself
<3> sorry about that, im feeling much better now



<1> Perhaps it is something in the php.ini file
<1> ajnewbold: Nah, it still dies on C:\Program is not a recognized command
<1> I'm trying to direct it to aspell
<0> dragan: No it doesn't.
<1> /j #fluxbox-chitchat
<0> dragan: It describes how to install the PDFLib PHP extension.
<5> hi
<0> dragan: There is no PEAR extension for PDFLib. You might look at this, though: http://pear.php.net/package/File_PDF
<4> Elazar: what do you think about pecl method??? Could that work??
<0> dragan: Possibly. I wouldn't know. I've never tried to use any PECL extensions before.
<4> Elazar: thanx dude!
<6> nope.. the output buffering in php.ini doesn't do anything. I also turn off output buffering. I also flush.
<5> http://pastebin.com/594452 would like to know if the ***ign by ref is needed if i want to store *that* instanceof object instead of a copy (php4)
<5> thanks in advance
<0> absentia: Pastebin your code.
<6> el: (1) conmpany won't allow me to do that and (2) it's about 400 lines. I have a working example in like 10 linmes that seems to work, but the larger one does not. I can't see what's different in the output!
<6> I used an object in the longer one... and not in the shorter -- so I'm going to try to break the shorter one to see what it takes to break it to see if that gives me any idea of what might make the larger one work.
<0> vinadelmar: I'm not sure, but I would just run a test. Try modifying some property value of the object in another cl*** method and then check the original variable outside of the cl*** to see if the change also took effect there.
<0> absentia: If you're using flush(), you might look at ob_flush() also. I think they have to be used together.
<6> nope
<0> absentia: No, you think I'm wrong, or no, you've already tried that?
<7> absentia: your using ob_start() ?
<6> only using ob_flush if you use ob_start ... otherwise, it gives you an error.
<6> plus, I have an example code wiring just fine with only flush ( )
<0> absentia: Um... if you don't use ob_start(), PHP isn't going to buffer.
<6> no,I am not using ob_start ... but, just for sh!ts and giggles, I dod a loop to shut down all the ob buffers and then started a new one.. and then I *did* use ob_flush and then flush () ... but still got the same result.
<6> el: well, there is buffering somewhere bteween two programs... program 1 is php and doesn't have buffering, program 2 is php and does have buffering.
<0> Maybe try using ob_get_contents() at some point in the code to see what's actually in the buffer?
<6> so I'm trying to figure out what's going on.
<6> ok
<3> se noai
<3> ase ai
<6> I dunno. I get one buffer at like 25% of the run.. and then I get the final output.
<6> so it's som bastardization of buffering and flushing.
<8> printf is to sprintf as print_r is to ?? sprint_r??
<9> stupid question: can a site foo.com request cookies set by bar.com?
<7> redduck666: no
<9> itrebal: meaning that it is not insecure to check if someone is logged in by the cookies i set?
<10> cb921: $out = print_r($var, true)
<8> ah
<8> ie rtfm
<10> duh
<10> :)
<7> redduck666: well, if someone gets a hold of the cookie, and puts it in their cookie filder - they will be able to access it,
<0> redduck666: You might look into PHP sessions.
<11> redduck666, can a user create a cookie on their computer to be read by your site? yes
<9> itrebal: but you can get hold of the cookie if: a) you crack into that computer and b) have a physical access to that computer. meaning that my autechation system is as secure as users computer?
<9> philip: but but they would have to know the username and the md5 sum of sha1 sum of the p***word to be recognized as that user
<9> philip: is that still considered in-secure?
<11> everything is insecure
<9> philip: hehe
<6> interesting
<6> when I make an object
<6> I get buffering
<9> Elazar: sooner or later i will :)
<11> also read about xss exploits
<0> redduck666: What specifically are you storing in this cookie? A user ID? Their username and an MD5 sum of their p***word? What?
<6> and I can't stop it
<9> Elazar: username and md5 sum of the p***wor is what i am storing in the cookie
<11> you trust the user to have a good p***word :)
<11> but anyway, if your site does not have xss exploits then it's not bad



<11> hmm... double negative... :)
<9> philip: :)
<9> thanks folks
<6> ****ing php god dammit
<11> funny thing php is thinking the same thing about you!
<6> ok, I may have some code to pastebin soon
<6> yup. got it
<12> philip: Lies! php loves all it's children!
<12> :P
<0> loves all it is children?
<12> huh?
<0> it's = contraction for "it is"
<0> its = possessive form of "it"
<6> MOFO!
<5> i've tested it but the test is biased
<6> now it works.
<6>
<6> wtf!?
<11> fix every grammar and spelling error in irc, you'll work overtime and be hated by all
<12> hehe
<5> Elazar, any opinion ? my machine holds php5 while i need to produce php4 code
<11> then don't write exotic oop and you'll most likely be fine
<0> vinadelmar: Yeah, what philip said.
<13> "instanceof", public etc are hardly exotic :)
<11> :)
<0> et: They are if you're confined to PHP 4. :P
<5> philip, do you at least know i'm speaking of ?
<11> no
<5> err, lemme rewrite this
<5> philip, do you know what i'm talking about at least?
<11> NO
<5> so i consider that the tip about exotic oop was not for me
<5> Elazar, anyway look at this http://pastebin.com/594500
<11> yeah, it was, in reference to your last question, not specific code
<6> has anyone used either of these: Content-type: multipart/x-mixed-replace; or Content-type: multipart/mixed; ?
<5> i need refs.
<14> anyone here using eaccelerator on his web server? i was wondering, what value do you use for accelerator.shm_ttl or .prune
<6> ?
<14> ? ?
<5> you waited 1 min. congrats
<14> '? ?' - just a reaction to '?' :)
<15> ? ? ?
<16> hey Pollita
<15> hay
<7> ? ? ? ?
<0> vinadelmar: Call setFoo() on the foo objects AFTER calling addFoo() on them, then see what happens.
<5> of course !
<5> changes reflected in both side
<0> vinadelmar: So, there you go. You don't need the extra &.
<5> champagne!
<0> *lol*
<6> grr... still buffering
<0> vinadelmar: I didn't think you did, but wasn't certain. Always best to do a real proof-of-concept test to make sure.
<5> like what i just did or you mean something else ?
<0> vinadelmar: Like what you just did.
<5> sure, always do
<5> thanks.
<6> does php support non blocking reading of stdin ?
<17> hmm it's weird how phpdeveloper website frequently has multiple links all going to the same url
<18> hi all
<10> It's weird that people use that crap =)
<18> How could I use a pl file in php? should I have to enable some liblaries as GD ?
<10> I think I might have just triggered a holy war.
<10> Meow.
<5> bad kittie bad
<10> It's true.
<10> People use that crap? :)
<0> ace_me: Um... .pl files are generally Perl scripts, dude.
<18> PERL is it possible under PHP directly too ?
<10> Not AFAIK.
<10> Also, it's "Perl", not "PERL"


Name:

Comments:

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






Return to #php
or
Go to some related logs:

mplayer devfb flicker
dapper Could not mmap /dev/dsp
#ubuntu
The GUI requires the X11 extension XShape
ubuntu clearlooks theme wine
ubuntu libpixmap.so
#debian
fr0zt
mppe_decomp_alloc
#css



Home  |  disclaimer  |  contact  |  submit quotes