@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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> is it possible to use header() to send someone to a location and specify GET variables in therE?
<1> nforbes: no.... 0/1s
<2> nope
<3> try changing the typedef for time_t and recompiling your entire system... not everything will work properly, it's often not that simple
<4> What's the point of 8-bit if you only use 1?
<3> granted, many times it is
<4> :(
<5> dannyp: I am *NOT* ***uming, that everyone is using glibc, and I stated, that Debian's glibs does the proper negative timestamp processing... So I have no idea, what you are on about..
<3> but sometimes code is poorly written or makes ***umptions about time_t
<1> nforbes: er, i lied it uses 2 & 3 occasionally
<5> s/glibs/glibc
<3> Stormchaser: I'm not sure what you mean by "proper negative timestamp processing"
<6> js_: header ("http://foo.php?blah=bar&xyverz=bar";) and so on.
<4> dannyp: timestamps are just unsigned int's aren't they?
<1> nforbes: but its all 0, 1, 2, 3 depending on the position of elements,sensors,motors, etc
<4> itrebal: ah



<5> dannyp: Lesser than 0 EPOCH
<3> we will have the proper time at epoch+2^31 seconds, and then the next second will overflow and we will be at epoch-2^31 seconds
<3> nforbes: no, they're signed ints
<6> unsigned ?
<4> That's stupid
<3> Stormchaser: sure, of course that will work, but it won't be right, and any running process will have to deal with the time going back 2^32 seconds
<4> Why would they be signed?
<6> my bad.
<1> nforbes: but it handles a LOT of it, and its just fast enough to keep up with everything else - and the software wont work with newer computers, so they just keep it on the old machine, until they *have* to upgrade
<3> nforbes: because in 1971 they were still working with data from 1968?
<3> believe it or not time did not start with the epoch
<4> Yes it did :(
<6> ?!
<4> itrebal: lol
<5> dannyp: When did it started?
<6> Stormchaser: -2^n epoch
<5> lol
<3> heh, time is a construct of the universe
<2> no
<6> dannyp: and thus 32 bits shoud suffice
<2> time is a construct of man
<4> No it's not
<7> Let's not get into a metaphysical argument now.
<2> to explain why things change
<5> nforbes: Sure it is
<3> Meltir: ... how do you figure?
<4> We gave the process a name, but there's no denying its existence
<2> and to measure that change
<6> dannyp: because ;)
<3> Meltir: you either use something more than 32 bits, or you change the epoch, come 2038
<5> Meltir: and 640kRAM should be enough for ALL
<7> It's say to say that it hasn't been proven one way or another, regardless how compelling our arguments are.
<2> anyway :) I'm off work now! so there ;p
<3> the former is waaay easier than the latter
<7> safe to say*
<6> Stormchaser: and it would be, if not for spam
<7> Stormchaser: enough for a timestamp? :P
<5> Julian|Work: I'm all out of guesses... you're next
<7> <5> Meltir: and 640kRAM should be enough for ALL <--
<6> Julian|Work: and it would be, if not for spam :P
<7> Meltir, I'd rather not get into it.
<6> k
<8> do you do if ($var =~ /REGEXP/) in php?
<7> eml, http://php.net/ereg http://php.net/preg
<8> thank you
<7> eml, yup
<5> Julian|Work: Don't point on POSIX regex
<9> eml: erm, if you do that in php, it will error
<8> ereg?
<8> oh.. =~ =)
<9> use preg (pcre)
<10> ereg is deprecated
<10> Use PCRE
<8> bah, I want perl-syntax
<10> eml: Use PCRE
<8> ah =)
<10> Perl Compatible Reg Ex
<8> hehe, yeah =)
<11> It's as close to Perl syntax as you're going to get with PHP.
<9> eml: so, submit a language syntax change. i'm sure it will get summarily rejected :)
<8> ah well, I'm gonna go read now



<10> There are some tiny syntacic differences
<10> But few people run into them
<8> caffinated, I was pointing at regexps..
<12> hwy ppl
<9> eml: oh, i was speaking of the =~ operator
<12> goods []
<12> i need some help :s
<8> caffinated, =)
<12> for example
<12> $var = "is telepac";
<6> and whats the problem ?
<12> how can i see if $var have telepac?
<12> :s
<10> MalMen: php.net/strstr
<6> php.net/preg_match
<6> (yes, i use them for everything)
<10> Prefer the str* functions to regex
<13> Hello.
<6> TML: it keeps me from forgetting the syntac (which happens when i dont use something too often)
<6> :)
<6> *syntax
<14> I've got "$loginquery = mysql_query("SELECT * FROM users WHERE p***word = P***WORD('".$_POST['adminP***word']."') AND username = '".$_POST['adminUsername']."'");
<14> $login = mysql_fetch_array($loginquery);" so how do I display the results from the login?
<13> Is there any reason that http://team254.bcp.org/new_site 's community outreach page doesn't work properly? I have pageid tested for in a php script something like if ($pageid == 1) { blah } but it isn't seeming to work.
<5> I do PCRE magic every few months (maybe), but I don't forget the syntax
<5> What's a $pageid?
<13> It's the variable I use to test for what page to insert in the content section.
<13> So if community outreach worked... it should have printed "This is the community outreach page!
<13> "
<5> !tell nitishp_ about predefined variables
<13> Thanks, I'll check it out :)
<15> PCRE magic ?
<6> preg_$foo stuff
<15> ah
<5> !+pcre
<16> [PCRE] Perl Compatible Regular Expressions - See http://www.php.net/pcre
<13> Ah, Stormchaser, thanks :)
<15> yes, Stormchaser is a healthy guy ! sure :)
<15> magie is not that world
<6> Stormchaser: does php-bot have them predefined, or does it search php.net for hits ?
<17> Any windows users suggest any free text editors with PHP syntax highlighting?
<5> Meltir: It was said to him to remember.
<17> I just need Notepad with syntax highlighting and I can die a happy merman.
<6> predefined. k.
<5> !tell Drew about editors
<6> Drew: eclipse ?
<18> what is the logic php-bot to check a question or sentence from a person?
<19> drew: http://editplus.com :)
<14> How do I set variables from a mysql query?
<19> DavidHKMrPowers: probably keywords maybe?
<5> DavidHKMrPowers: Why would you need to know?
<6> `Bryan: php.net/mysql
<17> I heard editplus was teh homo***
<14> Such as searching for a match to a username and p***word and retrieving an id number from the match and storing that id number as the value to a variable?
<8> $dirs = array(); <- will create an empty array right?
<17> But thanks for the info everyone :)
<8> can't seem to find the problem in my code
<19> Drew: O_z oh noes!1 off who? :p
<6> eml: right
<18> Stormchaser: I have written a bot of myself and it is still in progress
<8> ok
<19> Drew: it's notepad with highlighting ;)
<5> DavidHKMrPowers: In PHP?
<17> I don't want anything but highlighting.
<17> I <3 Notepad
<19> Lool
<17> lol :)
<18> Stormchaser: yes, in php, I set people to talk to me( bot-me )
<17> Thanks for the suggestions all
<19> *Lol, got some highlighters?
<6> hehe
<13> Drew: Try 1st Page by Evrsoft. -> http://www.download.com/First-Page-2006/3000-2048-10490779.html?part=dl-FirstPage&subj=uo&tag=button
<18> Stormchaser: let people


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#openzaurus
centos5 hdparm
#math
heartbeat on qmail
how to mount a hard drive ubuntu
cannot open tty-output mirrorselect gentoo
perlover traffic
bcool_6
reactos partition signature != 55AA
#css



Home  |  disclaimer  |  contact  |  submit quotes