@# 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 24 25 26 27 28 29 30 31 32 33 34 35



Comments:

<0> kuja, uh, no?
<1> test it
<2> karl: NO, IT WON'T
<3> >_>
<3> OK!
<0> kuja, I said I was looking for an alternative way for making a cronjob
<4> [Karlprof]: Ever thought about trying?
<2> karl: Please read about waht define does and how it works... php.net/define
<4> eml: A cronjob is a job. Not the program that executes the job at that time.
<5> koehala: I don't think there is type checking.
<5> koehala: specifying the types p***ed through probably isn't possible.
<5> koehala: you could cast your variable though.
<0> kuja, okay, let's say I'm looking for an alternative for cronjobs then
<3> Yes, Kuja, I have. However, that would involve uploading all of my files up to my hosting account, etc, etc, and it would take ages, so I thought I'd ask here.
<4> [Karlprof]: Well, you thought wrong.
<4> Never, ever do that again.



<3> I won't.
<2> eml: If you're thinking about daemons, choose some other languyage than PHP
<0> Stormchaser, I'm thinking of using C for it
<4> Python seems to be a good choice for daemons, in scripting langs.
<4> C, good :)
<2> eml: then write it in C
<0> or well, just usleep in C and then calling php-cli =p
<6> omfg
<6> 436 nicks XD
<2> ...
<6> "{
<4> Stormchaser: Meh..
<6> [;
<4> Stormchaser: You knew it was going to be like this the moment you took on to be an op :)
<2> kuja: no, I knew that the first time I was here.
<4> Stormchaser: As php-bot says: You are moron #1
<4> :)
<2> kuja: *stab*
<4> !+botsnack
<7> :), kuja
<4> Good boy
<4> Stormchaser: Try saying 'lol' in #python.
<4> Not to mention half of them are unhelpful. Well, not like we're much different anyways :)
<4> At least we allow "lol"!! ;P
<2> kuja: Um... 'lol' is acceptable in #python :P
<4> Stormchaser: No it ain't.
<4> Stormchaser: Try it.
<4> Stormchaser: It's been unacceptable for a long, long time.
<8> is there any good book for php which is better oreilly learning php .. and except php.net
<2> kuja: I'l try it, when I'll need to go there...
<4> Stormchaser: =)
<4> Stormchaser: You'll have a bot messaging you to stop, then if you persist, your *** is gone. :P
<4> xerophyte: No. Books are outdated.
<2> kuja: You pushed it too far?
<4> Stormchaser: I've seen it happen :)
<4> I haven't done it myself.
<4> I still visit #python every now and then when I need some help.
<9> hello
<10> hye
<11> hey
<12> for purposes of subversion, what MIME type should I give to PHP files?
<13> Hah, cool! I didn't know I could compare arrays! :P
<11> hello Seadog.
<13> if($array1 == $array2) { echo 'both arrays are equal'; } else { echo 'The arrays are not equal'; } <- is correct?
<14> hi nivek`
<11> :P
<11> what you up to?
<11> :D
<14> idling :P
<15> aren't we all
<16> OMG. Shiflett is a tool.
<17> heh
<0> I'm running php from CLI, "called to undefined function: mysql_connect()" <- why is that?
<18> do any of you guys use a templating engine? (such as smarty?)
<19> hi guys, can any of you help me debug a php script? http://ootput.pastebin.com/571986
<16> minDscrm - I just use str_replace.
<15> minDscrm: Savant is decent
<18> pod, rad that's cool.. that's kinda what i've been thinking.. seems like a template is overkill
<16> ootput - what does it do that doesn't work?
<4> eml: Because the MySQL extension is: 1) There, but not enabled, 2) Not there
<18> jiggster, you use it?



<15> i would given the chance
<16> minDscrm - yeah, totally agree.
<0> kuja, it works when it's called from apache
<19> pod: it returns $description as only the first character of the intended output
<4> eml: What OS/distro?
<20> okay, so I have an html file that has a php variable now and then... thoses vars are all strings
<0> kuja, debian
<20> how do I change the var for the string?
<4> eml: You will have 2 separate php.ini's.
<21> eml: did you compile with mysql support?
<0> kuja, with no root-p*** atm :(
<16> ootput - would help if you put $line = fgets before you try to explode it.
<4> eml: /etc/php/cli/php.ini, /etc/php/apache/php.ini ... or is that /etc/php/php.ini
<4> eml: Something like that. But on Debian (or Debian based) boxes, you'll have 2 separate ini's.
<4> ***uming you've installed PHP from the packages.
<11> kuja :o
<0> kuja, nothing I can do about it in that case
<11> i think your not the kuja i know :|
<4> eml: Maybe try to see if you can dynamically load it.
<4> eml: php.net/dl
<4> eml: locate php | grep mysql.so
<16> ootput - put line 16 above 14 and you'll be okay.
<0> /usr/lib/php4/20020429/mysql.so
<0> I can probably dl it then, right? =)
<4> eml: Maybe.
<0> ok, i'll try
<16> you should build it man ...
<0> dl('mysql.so') right?
<4> eml: Use the full path.
<0> ok
<0> pod, no root-p***
<19> pod: same result
<22> how do I show the information contained within a cl***?
<19> pod: it's very odd
<22> something like a print_r($VAR) but with a cl***?
<19> pod: there's not much to the script that can go wrong
<22> nm. I'm stupid. :)
<4> A-L-P-H-A: Objects are like arrays.
<4> You can do print_r() on objects and get identical output.
<0> it worked, i think, hehe :P
<23> mornin
<4> eml: Within the script you dl() mysql, just use phpinfo() then in the cli: php script.php | grep mysql # ***uming it'll catch the output generated by phpinfo()
<4> eml: Or simple, if (function_exists(...
<4> simply, even.
<16> A-L-P-H-A; echo $Cl***->Property;
<4> Heh...ew
<4> People actually capitalize variable names?
<4> Even cl*** properties?
<4> That sickens me.
<22> kuja, pod, okay. I just did print_r($cl***)...
<16> Poor kuja.
<4> No, $cl*** is wrong. IT'
<4> It's misleading, try naming them $obj or more appropriate names.
<16> Lol ...
<22> I'm doing "print_r($cl***->_elements);" with regards to pear::html_quickform.
<19> pod: mind if i re-broadcast the question to the channel?
<22> yeah, $obj would have been a better descriptor.
<4> A-L-P-H-A: Cl***es are merely blueprints :)
<16> ootput - not at all, but the thing I pointed out was definatly a bug.
<22> kuja, yeah, you guys are right... my OOP lectures from Uni are flooding back to me now.
<4> A-L-P-H-A: It's like saying "Make me a building with this blueprint, and only this blueprint, no materials"
<4> A-L-P-H-A: Pfft, who needs uni? :)
<4> And this is coming from a guy who's unemployed :)
<19> hi guys, can any of you help me debug a php script? http://ootput.pastebin.com/571986 . Errors are commented.
<22> kuja, those that want to make more money in the future than those wihtout.
<19> pod: cheers
<19> apologies, that's http://ootput.pastebin.com/572013
<4> A-L-P-H-A: I know a kid who makes money right now, no uni, got a nice coding job.
<16> A-L-P-H-A, like Bill Gates and Steve Jobs?
<4> A-L-P-H-A: Dropped out of high school, IIRC.
<0> hmm, can you compare a TIME-value with like, 15 minutes? If so, how? if 18:37:57>15 isn't that good.. should I use 00:15:00 ?
<4> pod: True. Bill Gates should actually get a little more credit than he does. Aside from ****ty products, he *does* know things.
<0> ok, that didn't work either
<0> and sorry, wrong channe..


Name:

Comments:

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






Return to #php
or
Go to some related logs:

nx6125 rhel
sound blaster audigy ls ubuntu howto
./hlds_run -game cstrike
postfix fatal no sasl authentication methods
ubntu5
ubuntu partial re-install
#ubuntu
XfrmBlast
#perl
autoflush Divert.pm



Home  |  disclaimer  |  contact  |  submit quotes