| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Comments:
<0> fishing design? <1> For a new carving... I have somethig in mind, but a bit difficult due to the detail. <1> This is the last one I did... http://static.flickr.com/47/156734420_6b4fe30823.jpg <2> cool <0> yeah i saw that earlier, its awesome work. <1> thank you <0> same kind of thing with a silhouette? <1> basically, yeah. <1> but water isn't easy for me <0> yeah <1> In my head... I have a fish coming out of the water (lake/pond) then the trees surrounding the lake, etc... something along those lines <0> yeah I had something like a b*** jumping out of the water jumping for a lure or something <0> ie see p*** pro logo <0> s/p***/b***
<1> Yeah, along those lines. <3> Does anyone have a tutorial on making php driven chat? <3> You know, one of those little things that sits on a page. <0> _tcc, no do you have an example? <3> http://www.perlmonks.org/ <3> like the chatterbox at perlmonks.org <0> man, I can see ways already to make that alot better <4> _tcc: http://phpopenchat.org/ <5> Does anyone know how i can get the Mysql server to do something on a regular basis? e.g update the number of turns a user has every 3 mins? <0> Zelen, create a cron job? <3> That chat is kinda big. <3> I was thinking just something that sits on the side of a page. <5> I haven't got unix? Can i do cron jobs without <3> Not too big. <3> Like a shout box. <0> what no unix? blasphemy <0> and i dunno there is only one OS I know of that is not unix, and i don't use it <0> _tcc, im not sure of a tutorial, but it would be pretty easy <3> How would you do it? <6> what job posting states 'PHP (OOP)' what does that mean <0> i would create a database, and just have the form write to the database on submit, and every time the page is reloaded, get the stuff from the database <7> Penguin: it probably means that knowledge in PHP's OOP implementation is required <6> as in cl***es? <8> hi. How can i upgrade mysql < 4 to mysql 4.1 on FC2 in the most simple way? <7> _tcc: and to make that neater, use XHR <0> what is XHR? <8> sorry wrong channel. <0> neater use ajax <7> XMLHTTPRequest <0> oh <0> ajax <0> lies <9> i know that '$_SESSION = array()' deletes the contents of the session, but does '$_SESSION = null' do the same? (php5 user) <7> marketing person <7> korkl: tias <0> who's marketing? <7> korkl: (try it and see) <9> deadroot: sorry, what's tias mean? <3> hrm <3> well thanks <3> I need to goto(bed); <3> :) <9> deadroot: i have and yes it does :) but I want to know if it's correct <7> cythrawll: ajax is marketing fluff <0> for? <0> what are they selling? nothing that wasn't already there? <7> korkl: if it works as expected then it is correct ;) <0> i tend to think of it as more of a paradigm <0> like OOP <0> a buzzword <0> which is handy to bring back dhtml from the dead pretty much <9> cythrawll: woh, OOP is definatley not a buzzword <0> it wuz <7> i would consider OOP to be a buzzword as well <0> ajax is a name to an already existing paradigm <7> which is convenient to p*** on ideas to a layperson, without that layperson learning more <0> yes <0> but the layperson doesn't implement this **** either <9> i agree though, ajax is a buzzword.. but the paradigm of OOP is very applicable, the word itself perhaps is a buzzword <7> but without understanding it, the buzzword becomes more valuable than what it actually represents
<0> only problem i see is with pointy haired bosses pressuring a group to use ajax when it's not needed, and not knowing the drawbacks <0> someone needs to arm the w3c <0> and march them on redmond <7> from public perception, the w3c ain't gonna do that <1> Who do you think funds the w3c <7> microsoft is a member <1> yep <9> does anyone know of any simple well-designed opensource php products? i want to learn from the source code <9> php5 preferred <0> doh! <0> who let them in? <1> korkl you're kidding , right? <7> korkl: sorry. you gotta learn it like the rest of us, trial and error <1> korkl google, sf, fm, etc <0> that's like al capone being a member of MADD <9> jymmm, deadroot: lol, yes i'm at sf right now. but i just wanted your recommendations. there are so many hyped products out <1> Mobsters againest defending democracy? <0> Mothers against Drunk Driving <10> later <0> anyways, im done with my beer and im going to bed nn <11> hallo <9> question: is it really necessary to check '(isset($_COOKIE[...]) && $_COOKIE[...])' ? wouldn't 'isset($_COOKIE[...])' do? <7> damn... i didn't realise i was in ##php <7> korkl: if you're checking if the variable contains a value, you can just use empty() <7> www.php.net/empty <9> deadroot: ok so empty() essentially does both isset() and != false? <7> does the manual say that? <12> korkl, empty is !$var without the varning. <7> php's manual is pretty reliable <12> warning* <9> deadroot: ok but isn't empty() exactly the same as == false? <7> i think it amounts to the same thing <12> so it can be translated into, (!isset($var) || !$var) <7> but !empty() isn't the same as '=== false' <9> i think you mean empty() is not the same as === false <7> maybe, i'm not too sure. my logic neurons has been misfiring lately... <9> ok so like i said, colder: (!isset($var) || !$var), therefore !(.. all that) is the same as (isset() && $var) <12> korkl, yes, (isset() && $var) is the same as !empty() <9> colder: cool, so doing !empty() will allow me to combine those two ugly checks into a single much more readable call :) <13> if i read from the file and yhe file would be rotated, did the position of file handle change or not? <12> yep, notice that empty is not always what you want, if you expect both "0" and <no value> for example <9> colder: do I have to worry if a variable is not set, but I call empty() on it? will it return true if a variable is not set? <9> colder: yes I'm aware of those cases <12> korkl, yep, it will return true without any notice if the variable is not set. <9> excellent <7> korkl: if you expect values from the client all the time (as in required), then yes <7> korkl: otherwise, if you want to allow empty values, you still might have to do that isset <9> deadroot: right, but if i regard 0's, null's, false, as empty values.. then calling !empty() is a-ok? <1> !+0 <14> 0 == FALSE, but 0 !== FALSE. Some functions, such as strpos(), can return 0 as a valid (boolean true) result. For these, you must explicitly check === (or !==) FALSE. Yes, it does break logic and was intentional for some reason or another --> http://cvs.php.net/co.php/ZendEngine2/zend_operators.c#259 <12> _yes_ (: <9> stormbot: thank you, i'm aware of this :) <15> hello... i have an odd problem... i have a script that does header(content type); readfile(xxx); exit(); .... it should play a MOV file... it works perfectly in WIN ie, ff, opera and MAC ff... but MAC Safari just won play it... <15> if i take the script out of the framework i am using then it works in all browsers... i examined the headers inside and outside the framework and there exactly the same <12> cornernote, that's not realted to php then. <12> related* <15> i know - its not related to anything... #mac users tell me to come here... #php users tell me to go to #mac <15> but its a problem and i am just looking for ideas <12> contraventor, do you have any working example in safari ? <12> if you do, reproduce it and try again. <5> Does anyone know how i can get the Mysql server to do something on a regular basis? e.g update the number of turns a user has every 3 mins? <15> cron <7> Zelnen: do you need to do that globally? <9> question: to delete a cookie, the time argument really isn't necessary is it? setcookie(self::COOKIE_NAME, null) works fine? <15> they are introducing an in-built cron system into mysql soon <5> What do you mean globally? <7> Zelnen: in your example, the only reason to do it on a regular basis is if you're doing a large batch job, like updating the data for all the players <5> I am doing that <5> But i don't know how to make it update every 3 mins automaticly <7> Zelnen: are you sure that you /need/ that? <5> Yes i do <7> cron would be the easiest. but for win32, as you have mentioned before, there is microsoft's task scheduler, but i don't know how to use that effectively <5> k
Return to
#php or Go to some related
logs:
#centos #dns zamba*meaning substatian how to rebuild mysql sphex undernet #debian pci express gigabit lan gentoo #web #perl
|
|