| |
| |
| |
|
Page: 1 2 3
Comments:
<0> findingOhio, you can' <1> i don't like to swear, stop that <2> whats the point? <0> findingOhio, you can't say you don't enjoy making uptight people uncomfortable <0> Test123, Ok, I'll ****ing stop <3> test123, how old are j00? <2> at the expense of me looking like an idiot, no. <0> findingOhio, you see this is IRC, what happens on IRC, rarely leaves IRC <0> findingOhio, plus I know more than you ever will. EVAR! <2> obviously... <0> findingOhio, did you need something? <0> why are you here? <1> rephrase, poutine knows more swears thatn anyone ever will <0> in every language too <2> why are you? <0> findingOhio, I've been annoying people here for over 3 years
<1> i guess youre mom had taugh you well, i wonder where did she get this knowledge from? <0> you just came here today <2> and? <0> I have seniority, so I'm asking wtf do you want <1> i suppose she had to sleep with people with different culutures and languages <1> :) <3> omgeez...you crossed teh line!!! <1> jerk <0> Test123, **** muhammed with a rock <1> yea wutever, but am talking about your mom not your prophet <0> you're not a muslim? <1> hehe wutever <4> Test123: it's better to ignore poutine <1> pizza_milkshake you're supposed to take care of the channel, it's so clear he is annoying the users <0> pizza_milkshake, you have a duty to uphold <1> gotta warn him instead of teaching me how to ignore him <1> plus i already did <0> you swore upon the stone tablets of IRC etiquette <4> Test123: yes, you're right, i've just gotten so used to poutine's horrible behavior <3> i think it's cute :-/ <0> pizza_milkshake, have you noticed the "retard" bot? <0> ^ <4> huh? <3> !penisflood 5 <3> is that not it? :( <0> type "retard" <5> retard <0> not paste <0> type <0> mIRC user <5> mIRC user <0> retard retard retard <5> [15:14]*DhoTjai sets mode: +retard evulish <5> that? :P <0> yes <5> i like retard stew <0> oh it notices you or something? <5> it's a PM <0> I thought it was going to the channel <1> never mind pizza_milkshake, i complained to the founder.. i hope he is a less lame than you guys <5> haha <6> hmm ye, it was actually for another channel <0> mIRC scripter eh? most worthless skill ever <3> yeah, do some obscure language like tcl <0> TCL at least can be used outside of IRC clients <6> i like it on all channels # <5> you like penises, as well <6> thanks <5> no problem <3> what happened to that test123 n00b? <0> he left <7> Ok here's a doozie for ya!! (anyone) <3> a h8 dooziez <7> why is if ( isset($_POST['resetButton']) ) { never returning true for me? <7> when my button (of type="image") clearly has name="resetButton" <7> and it submits to the same script <7> (re-loads the same page) <3> using type="image" is invalid <3> and won't work on certain browsers
<7> well **** that <7> how do I get around it then? <3> um...something about using x and y coordinates? <7> ahh ****... so my if statement has to check for that? <3> i think so? i've never tried. but you can google it <7> ay... pain in the ars'ol' <7> ok lets just see how good google is <8> http://varshop.com/two-bits/js-serialize/ for all you ajax freaks <9> Good afternoon everyone. Really quick question. Is there a way to easily subtract an hour from a timestamp created using date("Y-m-d H:i:s") ? <10> you could do it from time <11> uh.. <0> AnnaM, time() + 360 <11> or just date(H)? <11> oh.. haha, sorry I'm an idiot <8> strtotime <0> subtract and extract are different chalupah! <11> or mktime(whatever, date(H)-1, blah) <0> and I mistyped 3600 <9> poutine and Techno: Thanks. Now, really stupid question. How do I convert the unix time into a time stamp in the Y-m-d H:i:s format? <0> !func date <0> err <0> ~date <0> wtfever <12> (PHP 3, PHP 4, PHP 5) <12> string date ( string format [, int timestamp] ) <12> Format a local time/date <12> http://www.php.net/date <11> mktime() <11> and date(blah,mktime()) <11> is the key to all your answers <0> I don't see why you keep using mktime <0> he has a unix timestamp <10> me either <11> to add the hour or whatever <8> @php echo date("Y-m-d H:i:s", strtotime("-1 hour")); <11> eh, I think it's easier then ****ing with a string <0> date(blah,$time+3600) <12> Result: 2006-03-25 11:56:25 <0> oh - <11> ohh.. hm <11> I get it <4> @php function fib($n){$f=array(gmp_init(0),gmp_init(1),gmp_init(1));for($i=2;$i<=$n;$i++){$j=$i%3;$k=($j+1)%3;$l=($k+1)%3;$f[$j]=gmp_add($f[$k],$f[$l]);}return gmp_strval($f[$j]);} echo fib(11); <12> PHP Fatal error: Call to undefined function gmp_init() <8> using strtotime keeps it readible <8> gmp! <8> <3 gmp <4> gmp is ****ing ***y <11> I dunno.. it's easier for me to understand adding an hour then 3600 seconds <8> gmp gives me a boner <9> Wow, thanks all for the great information. <0> chalupah, your understanding != effecient <0> not you personally <11> hehe, I am in no way making that claim <8> poutine: the extra cycles to keep programming understanding at it's peak are not going to bring even the largest site down any <11> it's good practice though, right? <0> Two-Bits, yeah well converting an int to a string and testing if the first char is "-" is easily understood, and it wouldn't cause any programs to go down, but is it really what you want? <8> it's good to know what an int timestamp represents and the math involved in manipulating that number <8> if you do something like -3600, just be sure to comment it <0> - (60 * 60) <0> is that so hard to understand? <7> .... ok I think I figured it out <8> if you dont realize it's (seconds in a minute times minutes in an hour) then yes <7> I believe I need to do a if isset($_GET['resetButton_x']) { <7> and submit the form with method=get <8> for example, if you JUST subtracted 60.. would you recall if it was to represent one or the other? <7> for a button of type "image" <8> Etobicoke27m: might be resetButton.x isn't it? <0> Two-Bits, well figuring as a UNIX timestamp is seconds from the epoch, I'd naturally know that it meant 60 seconds <8> it's different for FF, iirc <7> Two-Bits: nope. <0> should we really write our code to appease to people who don't know what a UNIX timestamp is? <7> Two-Bits: . isnt a valid variable character in php... so php automatically replaces it with _ <8> Etobicoke27m: ahh, ok
Return to
#php or Go to some related
logs:
hot Gujju bhabhi Parth+Sari #chat-world tendul prince kiss.kar #india chen ra-son of the sun
#kl mirc room auto greeter #kl
|
|