| |
| |
| |
|
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
Comments:
<0> is it possible to get the mac-adress from a networkcarf with php? :) <1> InterSVR, exactly. but then if you slept at 10 am all through the day, then your time is shifted... Elazar is trying to tell me that the time wouldnt change for anyone <0> remote that is <2> Mordof: That's the point! TIME DOESN'T CHANGE! <3> i thought the discussion was you dont need time zones? <1> -.- <2> Mordof: It's the same EVERYWHERE. <1> they are trying to say time zones are pointless <3> yeah <2> Mordof: I'm saying that they over-complicate something that should be easy. <1> but if i eat lunch at 9 pm and someone at 6 am.. how do you know where the person is? (for sake of arguement, i realize people dont really care) <3> they essentially are worthless <1> but it makes things more difficult <3> they are good for hu-mans but not very good for anything else <4> i have a strange error on my local test apache server <4> Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in
<3> either way you know the west coast is operating 3 hours earlier than the east coast <4> does anyone have a clue what that could be? <3> whether the east starts work at 6am and the west starts at 9am doesn't really make any difference <1> yeah. exactly, with time zones.. you ask someone the time, you automatically know they are behind you <4> because the same script works just fine on the final server. <1> with one time, how do you know where they are.. or when they do stuff, it wouldnt be possible to tell <1> if we all do things at different times, it makes sense to have different time zones to match <3> so what we end up with is all these non-human entities that need to communicate are using UTC and meanwhile we're chugging away with timezones.. <4> it happens when i want to fopen a remote file. local fopen's work just fine. <3> well it sounds like dns is failing <3> getaddrinfo <1> bleh, time zones were made to make things easier on people. and UTC made for convenience of machines. its good the way it is, im not argueing about it anymore <2> Mordof: You would have to know location anyway to be able to do time zone difference calculations. Time would no longer be relative to location or whether it's light or dark outside. A person tells you a time, you automatically understand the difference in relation to your time. <4> insites: but i'm on the same machine and for every other program dns resolution works just fine... <4> InterSVR: but i'm on the same machine and for every other program dns resolution works just fine... <3> Elazar, the only problem i see is what to do about the date line.. do we just drop it? <3> could be somethin with the url or possibly you aren't allowing remote fopens on that server? <3> i can't remember what message you get if you cant open remote files, but its somethin <2> InterSVR: Date line? <1> yeah, where the time skips ahead another day <1> there are more than 24 time zones <2> InterSVR: Ah... would be irrelevant if we were all on the same clock. <5> yo guys - what does Warning: mail() [function.mail]: Failed to Receive imply <1> lol <1> no it wouldnt elazar, some people are in a different day <2> InterSVR: We'd all operate off of the same date as well. <1> lmao <3> right but how do you do actually do that <1> some people lose a day of the year every year.. how fun! <2> Mordof: What is a day? If you look at it as a half-rotation of the earth, yes, you're right. <3> the definition of a day has to change <1> thats what a day is.. <2> InterSVR: Exactly. <2> Mordof: Time is a convention. <1> omg <1> so now not only do we change time, we change days, which no longer involve rotation of the earth <1> good plan elazar!! <5> any thoughts on <5> Warning: mail() [function.mail]: Failed to Receive <5> ? <1> im sure they will listen to you <2> Mordof: I'm not saying it would ever actually be adopted. It makes too much sense for that. ;) <1> lmao.. right <1> if thats what you call sense <0> change the concept of time to use 100 as base for instead of 60 :) <3> why cant people just talk on the internet without gettin all personal? <2> Mordof: It would become exactly what it is: just a convention that doesn't need any basis on anything else. <2> Netfeed: Now you're talking! :P <1> -.- <1> InterSVR, would be too easy <6> CryWolf, should i comment out this line ? <6> CryWolf, actually, i'm trying myphpmoney, and it's this code that makes this error <7> Best way of getting the "lala" from lets say "12345.lala.com" ? <0> how stable is php5? when will php5 be the standard instead of php4? <1> Netfeed, php5 is already stable i thought.. <8> Netfeed: it's stable right now <0> mkay <1> im using 5.1.2 which is latest stable release <1> afaik anyway <8> Netfeed: php5 breaks a few behaviours in the OOP model of PHP4 (PHP5's methods are better) so PHP4 is maintained so that people don't have to rewrite their code. <9> Netfeed: Um... PHP5 has been stable almost a year now...
<0> my caffinated aha <0> meh <0> my host uses 4.4.0-pl1-gentoo, might tell them to please change :) <10> hey anyone around <2> mrrcparish: No. <2> !+g1 <2> D'oh. :\ <9> Elazar: *blink* <2> Stormchaser: Thought that made php-bot output it to the channel? <9> Elazar: if you're not an op it doesn't... /msg the bot <2> Stormchaser: Gotcha. <2> Stormchaser: I want the shortcut too, doggit. :P I'm lazy. <10> hey check out http://www.gamers-reign.com/chat/ <10> u know why its not working <10> ? <8> !tell mrrcparish about u <8> mrrcparish: what does a java chat program have to do with php? <10> im using php to submit over 1 sec <2> mrrcparish: I can get past the form submission. <2> mrrcparish: So PHP isn't your problem. <10> no u dont <10> <? echo $_POST[nickname]; ?> <10> thats correct isnt it? <2> mrrcparish: Don't presume to tell me what I do and don't see. I'm telling you, I submitted the form and it's pulling up the applet right now. <2> mrrcparish: No. <10> and i know how the java applet works.. its using the secondary nick because <? echo $_POST[nickname]; ?> is not working <2> mrrcparish: http://www.php.net/manual/en/language.types.array.php ... read the section marked "Array do's and don'ts" <11> Does PHP support enum types? <12> Anyone with experience in finding out what it means when transformToXML returns false (error)? How do you find the error? <13> guys, how could I set a regex for date like dd/mm/yyyy. Is (0[1-9]|[12][0-9]|3[01])[- \/](0[1-9]|1[012])[- \/](19|20)\d\d <13> a good one? <14> ? <14> /\d{2}/\d{2}/\d{4}/ <13> 59/50/9999 could be possible. <13> That's not what I want. <1> yeah yours would work <1> i think.. <13> the fact is not working, because I'm running with !preg_match ( this regex) , but I don't know how to negate the whole regex. <1> though i think the two end characters are wrong... <1> what does d represent? <13> I really believe they're right: anything 0-0 <13> 0-9 <1> oh ok.. yeah im thinking of the wrong letter then <13> d of digit. <1> i was thinking d was a word <1> heh <1> havent done regex in a while <13> \w <10> Elazar: thanx <10> misisng 2 lil ' ' <2> caffinated: Thank you. <2> caffinated: So, did I do something wrong or didn't I? I'm not here to cause trouble, and if I made a mistake I don't want to repeat it. <8> Elazar: actually, it was meant for mrrcparish .. I'm having a slow morning. my apologies. <2> caffinated: NP. mrrcparish thought it was a problem with the PHP form submitting to the page with the applet on it, was what it was. He just wasn't being explicit about the exact problem he was having. <2> caffinated: Although a warning kick might have been nice. ;) <15> What would be the best way to get the timestamp for the first and last of last month? <2> AaronCampbell: strtotime won't do it? <15> I tried strtotime('last month') but I get the same as 'today -1 month' (3rd of last month) <2> AaronCampbell: I know that mktime() will give you the last day of the month if you give it the month you want + 1 and 0 for the day. <2> AaronCampbell: If you wanted the last day of February, for example, you would do this: mktime(0, 0, 0, 3, 0); <1> AaronCampbell, i get an Unknown Modifier '[' using preg_match and that regex.. <13> guys, any other help on a regex to check a date like dd/mm/yyyy? <13> or how could I negate a whole regex? <13> like the mentioned above by me? <2> ArthurMaciel: I don't believe there's a way to negate an entire regexp. If someone knows one, I'd love to hear it. <13> and what about ?! ? <2> ArthurMaciel: I mean, beyond doing something like a preg_match() and checking to see if the return value is 0. <13> Elazar, but I need to do that with preg_match. <2> ArthurMaciel: Find the portion of the string that isn't equal to the pattern, right? <13> I p***ed !preg_match ("/(?!((0[1-9]|[12][0-9]|3[01])[- \/](0[1-9]|1[012])[- \/](19|20)\d\d))/", $element) but didn't work . <13> I want to know if any part of the string is different from the pattern allowed. <2> ArthurMaciel: I can't even begin to read that. Logically, what are you trying to match? <13> trying to match if the date is like dd/mm/yyyy <2> ArthurMaciel: So check for the pattern itself and use ^ and $.
Return to
#php or Go to some related
logs:
error texture ppracer error 1045 mysql server 5.0 solution
#kernel don't use doctype
split from empornium oom-killer yum SuSE disable zdm #linux #linux sucura
|
|