My new VM is frozen solid. Must be too cold in the data center. email support@ a rsa public key so you can control it yourself (aka reset/reboot/soft shutdown/etc) ElectricBill: I emailed you the console server info last night, you should be able to hard shudown and then boot your VM irons: What's up...I never got the console stuff after sending my key Nat_UB: I sent it to ya I can do so again... Don't recall receiving...must be caught in SPAM filter or something anyone got a moment to help with some php jeev: what's the trouble? omg, cablehead is helping with PHP haha oh no, how bored am i! not much work at slide? i'm gonna tell your boss ;) cd $meeting up_the_irons: haha you still there cablehead yeah cool so i have an sqlite database. site is decent i need help with two things a) i need it to take $bd_real, which is real date of birth.. and +3 +6 +9 days to it, wrapping on the correct days b) i need it if the wrong birthday is selected twice, to update sql under locked.. to add 1 to lock the user what are you serving this behind, pretty sure sqlite should only be opened by a single process .. yea, it's querying just fine foreach($result as $row) { $locked = $row[locked]; ... pretty ghetto $bd_real = $row[dateofbirth]; //here goes the REAL birthday output $bd_fake1 = "05/20/85"; $bd_fake2 = "09/13/85"; but i dont want to make it static fake birthdays jeev: does this help? http://www.php.net/manual/en/datetime.add.php jeev: but i'm curious now .. what *are* you serving this behind? :) what do you mean serving it behind heh e.g. apache etc yea, apache jeev: using threaded workers? heh i'm using default apache installation i dont know what you mean by that i like mpm and workers/ i dunno just wondering how you're getting concurrent access to sqlite is this gonna be a problem ? i never thought of that should be ok with mpm just discouraged http://www.sqlite.org/faq.html#q6 thanks i'll look at that but do you know what i should do about those two issues jeev: ah, the dateadd function doesn't help? i'm guessing it does wrapping available in 5.3 onwards .. looks like you can use date modify before that trying date sub date_sub($date, new DateInterval("P5D")); echo '
'.$date->format("d-m-Y").' : 5 Days'; right oh i need ad jeev: what's the issue with updating the lock variable? let me try the date thing first i dunno how to get started for that http://expressionengine.com/forums/viewthread/119962/ lol that doesn't even work Today = 2009 11 10 Today + 4 months = 2009 09 01 eeg Still messing with that jeev? yea just got back into it lets do it! fun fun ;> i'm almost done man Cool any suggestions :< cablehead: what do you think of "Go" ? up_the_irons: i'm pretty interested .. up_the_irons: just messing with it now cablehead: how about $bd_fake1 = strtotime(date("mm-dd-yy", strtotime($bd_real)) . " +1 day"); up_the_irons: what do you think? cablehead: i haven't got passed reading the article jeev: does it work? cablehead: some of the stuff Pike puts out I can agree with, some is very arcane cablehead: oh yeah? oops up_the_irons: oh yeah? cool cablehead: ever tried Plan 9? up_the_irons: i only know of it by reputation .. you've tried it? cablehead: or IO? i don't know IO cablehead: no, but there was a dude at my last gig that tried to get IO running on Plan 9, or some weird ass shit like that; and he actually got Pike to accept a patch ;) damn, the compiler for this thing is 6g on 686 platforms, 8g for 386 platforms, named after the plan 9 c compilers and then the linker is 6l or 8l respectively nope cablehead blank haha, sounds like something he'd do jeev: haha, then that's no good :) up_the_irons: hehe there's a package for a working http server .. seeing if i can get that going interesting cablehead, ahhhh! what do i do jeev: really, date_add isn't working? that's crazy jeev: might be faster to re-implement in go http://golang.org/pkg/time/ are you serious hehe haha not using date_add nah that is painful though if the builtin date add isn't working ah shit $bd_fake1 = strtotime(date("mm/dd/yyyy", strtotime($bd_real)) . " +1 day"); it should be like that cableheaD, THERE? woops blah i got it got wha his master faking birthday php sqlite fuzz to work mmk 143619 < jeev> anyone got a moment to help with some php 164844 < jeev> so i have an sqlite database. site is decent 165218 < jeev> pretty ghetto 165234 < jeev> but i dont want to make it static fake birthdays 171046 < Thorgrimr> Still messing with that jeev? 171159 < jeev> i'm almost done man 175700 < jeev> cablehead: how about $bd_fake1 = strtotime(date("mm-dd-yy", strtotime($bd_real)) . " +1 day"); 180733 < jeev> ah shit 180751 < jeev> $bd_fake1 = strtotime(date("mm/dd/yyyy", strtotime($bd_real)) . " +1 day"); 180755 < jeev> it should be like that 214943 < jeev> i got it some funny out of context exerps but you get the idea heh yea testing new os x irc clients on to: http://limechat.net/mac/ Windows XP is so freakin lame xp rules ;D