| |
| |
| |
|
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
Comments:
<0> ionix: Call it a drawback of Open Source, if you will. <1> Xsploit: anyhting in the source of the page? <2> Davey, Beep <3> Xsploit: its in the query <3> Xsploit: you use WHERE `type` != "" and you should use WHERE `type` != '' <4> yea fixed it <4> yup JoshX :) <4> had tested the sql directly and it had worked <3> :) <3> hehe <4> so thought that bit was ok :p <3> :) <3> and the blank page thing is prolly your server setup <4> yea it is <5> hmmm... <5> Stefan... where are you?
<6> Here :) <5> ahh <5> :) <6> so :) your CVS is in need for a fix :) <0> Xsploit: Don't quote column names. It obscures bugs that can creep in when you accidentally use reserved words as column names. <7> Hey TML :) <7> oooh, no boss, brb, need to open up the blinds :D <5> Skinkie: i see.. but i couldnt fix is that quick... <5> Skinkie: i wll try to export it locally... <6> fumanchi: could you send me some code then :) <5> yes.. im going to :) <7> WE HAVE (natural) LIGHT! <5> Skinkie: i will attach it to an email-reply... <6> thanks :) <5> Skinkie: you have mail :) <6> thank you :) <8> Skinkie "Increase your breast size safely and naturally" <6> Jymmm, wow :) that is kinda cool :) <9> I could use that <9> *grabs his chest* <6> fumanchi, what is the way to get it compiled? <8> Skinkie: "Send 2000 easy payments of $199 each to fumanchi Enterprises c/o ****er Inc, Africa" <5> Skinkie: hmm.. isnt that explained on the web-page? <5> Skinkie: it is <5> Skinkie: http://fum.no-ip.com/php/fbinary/ <6> ok :P <6> but where is phpize :) <5> it comes with you php-dist <6> (better where is 'configure') <5> its used to set all needed paths <6> mybad :o <6> :D <5> configure will be generated by phpize... <6> fumanchi, it seems to have installed :D <5> you can copy the directory in php's ext directory and call buildconf or bootstrap or what the script was called... <5> Skinkie: have you seen my benchmarks? <6> looking at them ;) <6> but i'm now going to try it out on my 'problem' ;) <6> 700m+ of serializeble data ;) <6> Module serialize_binary is compiled into PHP <- looks cool <5> what kind of variables are you serializing? <6> basically alot of objects containing array pairs <6> but yesterday when i was sleeping i had this major idea to make it even smaller... (just by doing 'normal' integer references to words, instead of storing them all as string) <5> "serialize-binary support enabled" this is what you are looking for :) <10> anyone running e-accelerator in here? <11> hm it does not appear that php supports functions which do not know how many arguments they will be receiving, and where a list of all params p***ed is required <8> default values <6> fumanchi, i'm trying your functions out now <12> how is this method called again ? TRUE:FALSE <1> cb921: indeed, what Jymmm says, look into default values for functions. <5> what is you php_info() saying? <10> jaks:tertiary <12> i forgot,.. and googling for ? : doesnt give much <8> jaks ternary <10> oh ya <10> dur <13> if int / real = integer ? how could i do an division btw 2 variable and the result to be kept real or float <6> fumanchi i copyed your code over, and tested it directly <5> and? <5> is it enabled? <5> ask you php_info() :)
<6> at least loading it works :) <5> there should be a "serialize_binary"-chapter <14> jeez....subversion takes forever to install <15> ace_me: $three = $one / $two ? <11> Jymmm thanks <15> $three will automatically will be float if there's decimal point <15> is_float() should help <8> cb921 NP, you could also p*** an array to a function as well. <11> Jymmm, jah but I am not doing the p***ing here and the API is changing under my feet :) <8> lol <6> fumanchi, i made a tiny typo ;) missed the _ between serialize and binary so i'm restarting again (i'm using the cli version) <16> when using r+, it seems to place the file pointer at hte bottom and not at the top like php.net says. am i wrong? <17> hey, I use DB.php, and I have a field of type float in my table, but when I use a placeholder in the query I cant p*** a float as a param because it says "syntax error: You have an error in your SQL syntax; [..] near '101,15''' at line 8] <11> hmm default values are a bit lame <18> cb921: always use isset($foo) ? <11> compare with ... in c or *arg/**arg in python.. no such idea exists here :( <18> cb921: thats the wonderfulness of each lang.. ;-) <0> cb921: What do you mean? php.net/func-get-args <19> question: why should I use phpmailer vs using the sendmail client on linux? <0> td-work: Who said you should? <6> fumanchi, 36M Mar 26 18:26 tab-file (i have no clue what is currently busy, but my system is still swapping) <11> TML umm, i was, umm, trolling for answers <11> :) thanks <19> TML, no one, curious to the pros and cons of both <11> td some OSes don't have sendmail? <20> Hi thinking about switching to 5.1 from 4.3 - is it noticably faster? <6> fumanchi, seems that file isn't produced by your function, I better reduce the amount of data going to be stored... <21> MRH2, not unless you want to look at the new stuff <13> Drakas there is no decimal point <22> Davey|Work: and you did it ? <5> Skinkie: ? <15> ace_me: sure..? <15> what do you do then? <5> Skinkie: have you checked the functions first? <20> ok thanx <15> wroks like a charm here ;] <13> I want to resize some images <5> Skinkie: are they available? <21> xroberx, hmmm? <13> and I have the original sizes as width and height <13> than I use : <6> fumanchi, yes they are, i'll try a smaller file and compare <13> $height = $height * cfg_imgmax_x / $width; <22> Davey|Work: i mean, did you look at the new stuff ? <5> what are you doing? <13> it seem that division becames one everytime <5> which kind of data will be serialized? <13> cfg_imgmax_x / $width; <21> xroberx, I've been working with PHP 5 almost exclusively for almost 3 years... <13> cfg_imgmax_x = 250 <22> Davey|Work: ok :) <13> and the $width is variable <6> fumanchi, i'm training a corpus so basically bigrams/trigrams that kinda stuff <6> your compression ratio is 2:7 :) <5> Skinkie: what is it in php-nomenclature? <13> so all the images should be proportionaly resized to 250 width and a calculated height <5> Skinkie: arrays of arrays? <5> Skinkie: of floats? <6> fumanchi, objects and arrays <5> Skinkie: should be fine... <5> Skinkie: and should save a lot of memory and time... <6> 2301540 Mar 27 17:32 tab-file vs 7543901 Mar 24 15:36 tab-file-gold <13> Drakas ? <15> ace_me: http://php.net/imagecopy http://php.net/gd should have a lto of examples how to resize <5> Skinkie: which file was generated by which serializer? <6> fumanchi, but even your binary can't handle my very big corpus. now that is just an optimizing problem <6> fumanchi, yours is the first one, the other one is the normal one <5> ahh fine... <5> saves a lot of memory and therefor buffer misses .. <6> fumanchi, why don't you get this in to the real php distro <11> What is the official difference between .= and += when used on an array? <11> well on two arrays actually <5> because they argued about its name <5> i had no time for such disscussions..
Return to
#php or Go to some related
logs:
#web mambo traslations kill vmware-vmx ksmarttray updating channels... #sdl #debian gentoo depclean removes livecd kernel suse fstab fourth field options #python #css
|
|