@# 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



Comments:

<0> Mike: im a little rusty on php, havnt used it for like 2 or so years.
<1> Jymm: well shows what i know... i never learned or bother to use that stuff
<2> [R]: what timezone is php using?
<3> tol Then RTFM
<4> America/Denver
<5> |Lurch|: check cakephp.org or symfony-project.com if php5 is avialable
<4> which aparnetly, is the "default" for MST
<4> but i live in MST, and not MDT
<2> [R]: one hour different?
<4> so its screwing things up
<4> yes
<4> -0600 instead of -0700
<3> !+enter
<6> Don't use the enter key as puncuation. Think in complete thoughts, then type.
<7> ifdev: php4 is available, but i can make it php5 if that tool would do the job ):
<8> deltab: MDT is MST with DST



<9> Bouncy: Do you mean, using a CSV file with table names that are already created?
<1> heredoc... goddamn
<1> ive been missing out all this time
<7> ifdev: thanks for the pointers.
<9> Bouncy: I could write you a custom function for $10. :)
<1> /n had it's moments
<1> \n
<1> *
<5> |Lurch|: check the admin generator facility in symfony then
<0> Mike: yea i have got one for inserting new data to a mysql database from php now i want onr for updaing it.
<10> lol Mike
<10> you do that often?
<0> lol
<10> just wondering
<9> Traitor: Do what?
<11> night all!
<5> |Lurch|: you're welcome
<10> Like write custom stuff for a few bucks here and there
<9> Traitor: I do freelancing for a living.
<10> cool
<9> Traitor: http://MikeHW.com ;)
<10> can I ask how profitable it is
<3> Mike and I KNOW your aware of the guidelines on jobs in here!
<10> because I would love to do that ;)
<2> [R]: does date show the right time?
<0> nice site there Mike
<4> on the comamnd line? yup
<4> 8:30 pm, MST
<12> um
<9> Traitor: Not really profittabl for someone to live off of. But considering I don't pay any bills at all, or have any expenses in general, it's a decent sum.
<12> mikehw.com is just a link to scriptlance.com
<10> ol
<9> Swytz: It's a link to my profile on SL.
<10> Mike you have experience with C++ and DirectPlay by any chance?
<12> mike; that's pretty lame.
<12> you'd think you'd have an actual website :P
<9> Swytz: Why?
<2> [R]: how do you know PHP is using America/Denver?
<12> if you're so taltented :P
<12> talented
<4> deltab: it told me in phpinfo(); and when i used the date_default_timezone_Get
<9> Swytz: I'm 15. I don't plan on persuing a career in PHP. I'm only making about US$250 weekly.
<0> Mike: the $10 is a good offer, but i would rather learn to write it myself with some help
<10> lol I'm 15
<9> Traitor: lol
<12> my lord
<12> bunch of youngins
<9> Swytz: ...
<10> pfft I wish I knew a ****load more programming at this age than I do now ;)
<2> [R]: what SAPI is it using?
<4> apache2
<12> i was doing php when i was 15
<12> i'm still doing some of it
<12> only difference between now and then
<12> my pay went from 250/week to 2000/week ;P
<12> age rules.
<10> lol
<9> lol swytz
<10> 250 a week for a 15 year old? damn that's hardcore ;)
<10> you don't even need to pick up a rake!
<2> [R]: is the httpd's timezone America/Denver?



<12> well
<10> hell, screw lawn mowers too!
<12> i was a sysadmin at 16
<9> Traitor: It is lol.. Most of my buddies are working at McDonalds and ****, making $6.85 an hour to slave to ***hole customers.
<4> deltab: dont see why it would be
<9> And hell, I work when I want when I want money.
<10> Omg that pwns ;)
<9> I recently bought a laptop. Buying a car soon lol.
<2> [R]: me neither, but php must be getting ti from somewhere
<10> Tell me where do you get your customer base
<4> deltab: i was reading thru the sourcecode
<9> Traitor: ScriptLance.
<9> Anyone ever heard of RewardHits?
<4> deltab: and it looks like the "default" for mst is Denver
<10> you get alot of referrals through them mike?
<9> Anyone ever heard of RewardHits?
<2> [R]: why?
<9> Traitor: refferals?
<4> deltab: i dont know, i just read the code, i didn't write it
<4> deltab: and apache is reporting the correct time
<2> [R]: where does it get MST from?
<4> deltab: thats what my timezone is
<2> I thought it was US/Arizona
<9> Bouncy: It's pretty simple, really. Open/read the CSV, break it up by line breaks ('\n'), use a foreach to go through those breaking them up by commas (','), and figure it out from there.
<4> MST is the timezone, US/Arizona is just more descriptive
<2> [R]: I mean the actual file name
<0> Mike: im using fgetcsv at the moment.
<4> my localtime points to US/Arizona
<0> Mike: can you refer me to a totorial or something similar.?
<2> [R]: how does php get MST from that?
<3> Bouncy: Sure, tutorial referals are $1000 USD
<4> maybe it gets it from the OS
<5> anyone using XML-RPC in any projects? (just wondering about how wide is this protocol usage)
<13> if i use r+ in my fout statement, is there anyway to make it not overwrite the files below it, but rather bump them down?
<2> [R]: the OS doesn't know about timezones
<9> Jymmm: Took the words right out of my mouth.
<4> glibc than
<9> Haha, joking.
<0> Jymmm: well them i guess im finding a free one my self :D,
<4> deltab: interesting... i'm reading the php 5.1 upgrade notes
<10> Mike: You get a lot of job offers through SL?
<2> [R]: the only timezone settings usually used are localtime and the TZ variable
<3> Bouncy which you should have done in the first place (ya cheap bastard =)
<4> deltab: it says its screwy a little
<4> deltab: so its guessing MST from glibc, which is correct, but it sees mst and knwos its daylight savings, and adjusts it
<0> Jymmm: ive found a few already but nothing to similar to what i want to do.
<4> deltab: well that solvse that
<9> Traitor: You don't get "job offers" on ScriptLance. Webmasters post jobs and programmers bid on them.
<2> [R]: I'm just not seeing why someone would add code to get "MST" from US/Arizona, then convert that "back" to America/Denver
<3> Bouncy just go plagerize phpmyadmin and learn from that.
<4> deltab: it probalby just gets MST from glibc
<2> [R]: when it could directly access US/Arizona
<4> deltab: this document says "Date/time support has been fully rewritten in PHP 5.1, and no longer uses the system settings to 'know' the timezone in operation."
<2> [R]: yet your other glibc programs correctly see US/Arinzona
<9> xml_set_character_data_handler() is the longest god damn function name.. ever.
<3> lol
<9> LOL
<9> I recreate the function as xscdh() when I'm working with XML parsing.
<14> just wait till they make ir xml_real_set_character_data_handler()
<2> Mike: nowhere near
<9> Deltab: ..?
<5> Mike: ever wrote code for Cocoa lool ?
<9> ifdev: nope.
<10> [Mike] I recently bought a laptop. Buying a car soon lol.
<15> damn
<10> Yes. At $250/a week you could buy a laptop every month haha
<5> Mike: so nvm a few long-named php functions ;)
<10> lolz
<9> Traitor: lol, this laptop was only $770. :|
<2> Mike: xmlrpc_server_register_introspection_callback
<9> Traitor: The most I've ever made in a week was US$950 back in February.
<9> Deltab: ...wtf.
<15> damn, you made $950 in a week on scriptlance?
<16> http://office.microsoft.com/en-us/***istance/HA101205221033.aspx


Name:

Comments:

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






Return to #php
or
Go to some related logs:

parallel_fetch
my.cnf bind-address two addresses
halisway
#ubuntu
slackware bluez-pin
#osdev
cdirip deb
bitbake task bootstrap
spinach souflee recipe
#oe



Home  |  disclaimer  |  contact  |  submit quotes