| |
| |
| |
|
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
Comments:
<Meltir> itrebal: and now tell me why :P <Jymmm> kuja: Sounds pretty Korean to me <kuja> Hm... mushroom alfredo... or parmesan cheese.... grrr <itrebal> because i could, but i wont - 'cause that keybaord doesnt work for ****, its my USB hub :P <kuja> Bought 2 kinds and I can't make up my mind :D <Jymmm> kuja BOUGHT?! WTF what you mean BOUGHT! YOu MAKE alfredo sauce, you dont' buy it! <Meltir> say - anyone have an idea of how to stop output to the borwser without actually killing the script ? :> <itrebal> kuja: just MAKE it! its easy. <Jymmm> Meltir dont echo <kuja> Jymmm: Man, I'm lazy as it is just to heat it up. <kuja> I prefer microwavable food... but I'm kind of digging for a better meal today :S <Jymmm> kuja it's just butter, flour, cream, and seasoning <Jymmm> cheese <kuja> Jymmm: Well bring your *** to Korea and make me some! <kuja> :D <Meltir> Jymmm: the script is running atm. i dont want to loose the data its already processed, but i can see now that the browser is killing my system and slowing down the script :( <Jymmm> kuja wharre's my utha fskcing ticket?! <kuja> Jymmm: Is there a way to make Alfredo sauce without the flour? Or any ingredients containing flour? <kuja> My girlfriend can't eat anything with flour :( <veepster> any kind of flour? <Meltir> kuja: why not base the sauce solely on water and good intentions ? ;) <kuja> :S <Lord_Loki> kuja: take her back then.. say she is broken. <kuja> veepster: Nothing with ANY flour. <Meltir> Lord_Loki: LOL <veepster> thats messed up <itrebal> kuja: you know that alfredo sauce you bought today..? <kuja> itrebal: Yesterday <itrebal> same thing.. <|Lurch|> Meltir: $all = eval(var_export($a,TRUE)); doesn't work, but eval("\$all = ".var_export($a,TRUE).";"); does. is that expected? <kuja> itrebal: What about it? <Meltir> hmmm... maybe if i kill the browser in an abrupt way - like sending a -9 to it the script would keep running ? any ideas anyone ? :P <itrebal> kuja: it has a 90% chance of having flower in it <kuja> itrebal: Yep, I know. <kuja> itrebal: So I plan on enjoying it myself :P <Lord_Loki> kuja: better yet.. take her back... bug report include (ie.. $flour_digestion = false <Meltir> |Lurch|: wtf is your goal exactly ? :> <Meltir> cause what you just showed doesnt make much sense to me :> <Lord_Loki> kuja: she alergic to wheat? or just processed flour? <kuja> cl*** Lord_Loki < Person; def is_retarded?; true; end; loki = Lord_Loki.new; while loki.is_retarded?; loki.stab_the_****_out_of!; end # :) :) <Meltir> crap, im ending this. killall -9 firefox. >:| <kuja> Uh oh, missing an end; there <weasel00> kuja: is there somewhere that i can look to see if mysql is being processed right during the install process? <kuja> weasel00: Your configure process. <Lord_Loki> :kuja parse errored and stabbed himself <weasel00> kuja: but what am i looking for? <Lord_Loki> :kuja i was only playing man <kuja> rescue SyntaxError; loki.continue_stabbing <kuja> :P <Lord_Loki> haha <Lord_Loki> umm ummm <Lord_Loki> ?> <Lord_Loki> HA! <kuja> weasel00: Where it checks for MySQL, probably. <Meltir> well.. it looks like apache just died :( im right back where i was 4 hours ago :( <itrebal> bleh, i need to get my "hub" working <weasel00> kuja: would that be while its "checking for ..." ? <kuja> weasel00: Probably <weasel00> sorry i sound so stupid... i think my brain has been injuried from all the hair i have pulled out over this inane problem <Lord_Loki> weasel00: you dont sound stupid as long as i am around <ruben> Meltir: seeing the php script, it uses posix_getpwuid, so, what is the way to disable all posix_* functions? <weasel00> loki: thanks...i think... *p***es a cold one to lord_loki <weasel00> :) <|Lurch|> Meltir: i am saving a pretty large array to a file <Lord_Loki> :) <|Lurch|> Meltir: i want to be able later load the file and read the array back out <|Lurch|> Meltir: when i read the file back in, $contents = eval($file_contents); errors. <Lord_Loki> weasel00:see at least your trying to solve a problem.. me i am hoping to absorb some stuff so i can start my app and THEN have problems. But the real problem is I dont know Jack about php really so..... therein lies my problem <Meltir> |Lurch|: $file="<?php $foo=".var_export($array,1)."; ?>"; <myconid> Lord_Loki: i take it you didnt take my advice and buy a book. <Meltir> include ("file"); <weasel00> Loki: grab a beer, and just start mashing away at the keyboard ;) <Lord_Loki> myconid: if i had the money to buy a book, I'd be reading it instead of bugging you guys <myconid> Lord_Loki: what do you want to do with php? <|Lurch|> Meltir: that'll work too. <Jymmm> Lord_Loki then get a job you cheap bastard! <ruben> what is the way to disable all posix_* under php.ini ? disable_functions posix_* will work? <|Lurch|> Meltir: however the file contents are not always local, but they are in $file_contents var in my case. <Lord_Loki> myconid: same as before, creat an app that add's edits' delets multiple entries with images, and connects them to a user table <weasel00> php-bot <weasel00> bah <Lord_Loki> I created the links table and the data fro the medals as stated before.. no i have no idea where to begin to do what i want <Meltir> k. script modded to give output every 1000 querys. this should take the memload off my back to some extent. <Meltir> |Lurch|: you might want to use a db to make it simpler. <ruben> no idea anyone how to disable all posix_* functions? <|Lurch|> Meltir: use a DB for what? <Meltir> |Lurch|: the big array that is in diff places at diff times. <|Lurch|> Meltir: really, all i want is to be able to dump an array (var_export does that quite well) and import it back from a string, which eval() does not seem to do well. <Artnez> rube: http://us3.php.net/posix <Artnez> *ruben: http://us3.php.net/posix <ruben> yes, but I want to disable all this functions <weasel00> kuja: so this isnt working then is it...? http://php.pastebin.com/574260 <Meltir> |Lurch|: then simply create the file in a format (add the <?php $array=(output of var export here); ?>) and include it. you dont have to eval a thing that way. <Artnez> ruben: rtfm <ruben> My idea is to disable all system functions :) <Meltir> serialize will also work for you, but it has a way of failing with really big objects/array's <weasel00> kuja: because of the missing socket information? <Meltir> (from my experience anyhow) <ruben> Artnez: it's possible with php.ini, some option? <|Lurch|> Meltir: my original question (to which you answered var_export) was "is there a more human readable serialize?" :) <ruben> like --disable-systen-functions ? <Meltir> yes, but you didnt specify why exactly should it be human readable :) <Artnez> ruben: i just sent you a link that has all of that information <Artnez> readi t <|Lurch|> Meltir: to enable a human to examine the file or potentially modify it. <Artnez> |Lurch|: XML :P <ruben> Artnez: yes, I see --disable-posix and thanks, but is possible something like --disable-all-system-functions ? <Artnez> ruben: this i do not know <ruben> ok, thanks again <|Lurch|> Artnez: preferably not. <Meltir> |Lurch|: i still say to go for an include. write the contents of $file_contents to some temp file and include it. that way you dont get any parsing errors and keep the variable within the scope you want it. <Artnez> |Lurch|: i don't know the specifics of what you're after .. but if you want to retain type/content/etc and want it to be humanly readable and editable XML would make the most sense .. or comma delimited or something <Meltir> Artnez: those mean parsing. parsing means time. depending on how big the array is - an include might be much faster :) <S4nD3r> Hey, is Zend free to use and to download ?? <Meltir> ... <Artnez> Meltir: hmm.. good piont. <Artnez> *point <S4nD3r> ? <Meltir> S4nD3r: what do you think ? <Meltir> google ? <S4nD3r> I think is pay <Meltir> good thinking. <weasel00> trial last i saw <Meltir> weasel00: 30 days. <S4nD3r> ummmmm.... maybe emule.. eheheheh <Artnez> S4nD3r: Zend Studio? <Meltir> S4nD3r: we are not #zend-studio, not #emule. <Meltir> *nor <Artnez> aye, pirates are bitches <Meltir> aye! <weasel00> Mel: reminded me a lot of coding with visual studio with the hints, colors, and all... it was like tripping on acid after grinding for 48+ hours on a deadline lmao <Meltir> weasel00: i use it on a daily basis :> <Artnez> If Zend had the FTP support I need, i'd be all over it. <Artnez> I love everything else about it. <Meltir> Artnez: ... newsflash - ftp is supported. <weasel00> kuja: so this isnt working then is it...? http://php.pastebin.com/574260 < can someone take a peek at this and tell me if because of the socket info not being there that php is not wokrin with mysql? <Artnez> Meltir: I said the FTP support "I need" <Meltir> Artnez: an what pray tell do you need ? :P <Artnez> Zend cannot keep a local "cache" of the FTP server i'm connected <Artnez> *to <weasel00> anyone:: http://php.pastebin.com/574260 < can someone take a peek at this and tell me if because of the socket info not being there that php is not wokrin with mysql? <Meltir> Artnez: i consider it a good thing. its always 'live' :) <S4nD3r> Which is the best IDE to programm in php <Meltir> S4nD3r: dont go there... <Artnez> Meltir: I'd prefer to have a copy of my work on my HD <Meltir> Artnez: rsync :P <S4nD3r> ?? <Artnez> Meltir: bah
Return to
#php or Go to some related
logs:
#php Kopete DeskList Plugin ERROR 1227 (42000): Access denied; you need the RELOAD privilege for this operat jengleh gentoo rhythmbox could not create audio output gentoo gnome without evolution #debian FATAL: Module cman not found sed delete words line #web
|
|