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



Comments:

<0> Hello all, how i search duplicates records on a TXT file ?
<1> winmutt: I don't understand what I'm supposed to be "checking" for?
<1> winmutt: As I understood BigTrucK's question, he wanted text inside a <textarea> to be rendered the same as it would be on the normal browser "canvas"
<1> return in a global scope *does* exit
<1> Qoth the documentation at php.net/return: If called from the global scope, then execution of the current script file is ended.
<1> hackel: No, it is not possible to use break or continue to leave an "if" block, at this point. PHP6 may have what are being called "named breaks", which may or may not effectively operate as a sort of "GOTO" statement.
<2> TML: any ideas (about my bad code)?
<1> genelisp: I don't have time to review it right now, sorry
<2> TML: no worries
<3> TML - bite your tongue ;)
<4> im trying to use pear for the first time and every pear command i issue i keep getting a long list of errors that look like PHP Warning: Function registration failed .... any idea what is going on and how i can fix it?
<5> ok so my coding has come to a stopping point
<5> i cant decide on how to do this
<6> enygma: oh! damnit! i accidently bit my tounge :(
<2> can anyone help me with this little bit of code?: http://pastebin.com/638498 - all the info's there... I'm quite stuck
<3> itrebal - as long as you didn't bite TML's tongue we're okay



<5> im writing page numbering and sorting and im stuck between storing the params in a session so i dont ahve to clutter my nicely mod_rewrite'ed url of my site, but then again waht if somoene urls a certain page/sort to show someone, the sesion data wont p*** to the other person.
<6> enygma: woops
<1> <:O
<6> sorry, TML
<1> Scratch that. <:I
<1> I'm not opening my mouth around itrebal now.
<3> heh
<6> haha
<5> any1 know at all exactly waht im getting at?
<7> could someone help me figure out why my attempts at sending a process to the background aren't working?
<1> !tell acidjazz about aolbonics
<5> aolbonics? lol
<1> acidjazz: "any1"
<5> oh jesus who cares
<5> about how i type
<6> acidjazz: we do
<1> acidjazz: I do.
<3> I do
<1> existance: Did you disconnect stdin and stdout?
<5> do you even know what im talking about?
<7> TML, err.. not sure
<5> or you just see the word 'any1' and are all happy to use your cute little !tell
<7> TML, i do exec(/usr/bin/command args > /dev/null &);
<1> acidjazz: It doesn't matter what you're talking about. If you can't talk about it following channel guidelines, talk about it somewhere else.
<0> Hello all, how i search duplicates records on a TXT file ?
<1> existance: What shell is being used "underneath"?
<5> tml; so thats a yes, you dont, and to not make yourself feel dumb you use your cute little !tell
<7> TML, bash
<1> existance: Try: disown /usr/bin/command args &
<8> Anyone know why the Windows PHP Installation sets it up by default via the CGI binary and not the ISAPI module?
<9> heh
<9> and learn to ban ppl
<7> TML, can I ask what that does first? :D
<9> ban my domain TML
<9> not my nick
<7> TML, and should I execute that from PHP right before the other command?
<10> he should learn not to ask for it
<6> tempest1: thats how you seperate the dumb****s and the *relatively* smarter ones
<1> This, friends, is what I get for following network policy...
<1> *sigh*
<11> TML: Welcome to my world =(
<6> TML: What do you mean?
<12> Can't you ban by ident?
<1> Jymmm: It's been my world far longer than it has been yours. :)
<10> people get so pissed off at people offering free help...
<10> i don't get it
<11> enygma scroll back
<11> enygma quit thinking
<3> Jymmm - I saw it all.
<10> Dragnslcr: what do you mean "ident"?
<10> hostmask, username, realname, nickname?
<13> Hmm, how can I parse PHP at command line? What was the command/binary again?
<10> php
<11> enygma: Dont be hating just because your Kung Fu is no good.
<7> TML, so i disown before I try to execute the command?
<1> foo: "php foo.php"?
<7> TML, oh.. nm
<13> Oh, ok. hmm. /me does an apt-file pph
<13> apt-file search php
<1> foo: Or do you mean to ask how to execute PHP not stored in a file?



<4> im trying to use pear for the first time and every pear command i issue i keep getting a long list of errors that look like PHP Warning: Function registration failed .... any idea what is going on and how i can fix it?
<13> TML: Nah, you answered it. Thanks
<10> foo, search for php5-cli
<10> or php4-cli , whichever you prefer
<13> tempest1: ah, that was it. Thanks
<1> SethR: Generally means that you have the same extension loaded multiple times in your php.ini, but impossible to be sure without more specific information
<4> tml, thanks ill see if i can check that
<14> what is default install location for php.in
<14> i
<15> Normally it'
<16> Hi everyone I have an issue, it tells me "Parse error: syntax error, unexpected $end in /mnt/usbdrive/D...." I don't get it. My source is here, it's very short. http://pastebin.com/638543
<15> s at /etc/php.ini
<15> Use phpinfo() to find where yours is.
<6> !tell Estes2 about error last line
<15> Estes2, line 12.
<15> #
<15> echo $num."\n";'
<16> damn
<17> can I change umask for imagemagic ?
<7> TML, how do I disown the process if php is still hung up from executing it?
<16> it's because i had it like php -r blablabla before
<16> ok, thanks
<18> Hi, if i past a $_POST[xxx] to a function ... is there a way in the function to check if it was realy set ?
<1> existance: You have to kill the parent
<19> how do I construct a nested, global array so that I can modifie elements (including elemnts of nested arrays)?
<10> dodo, no, just do strlen(trim($xxx)) == 0
<1> JasonWoof: The same way you construct any other array...
<7> TML, err, not sure what the parent process of the exec is or how to kill it
<19> TML: just: $GLOBALS['foo'] = array(1, 2, array('sub', 'bar', 4));
<1> existance: ps auwwx | grep 'the procname'
<1> JasonWoof: Sure
<1> JasonWoof: Although I generally try to discourage people from mixing index types
<19> TML: I don't think I did mix index types
<1> Generally speaking, arrays should only be indexed by one method.
<10> TML, he doesn't have mixed index types
<19> I mixed data types
<7> TML, alright... the process shows up..
<1> My mistake.
<19> yeah, yeah, crappy example
<7> TML, but not from PHP, from me running it in the command line
<1> I read 'sub' => 'bar'
<1> Not 'sub', 'bar'
<1> existance: You've lost me.
<1> existance: You say you have a process running that PHP started, right?
<19> will this really work? $GLOBALS['foo'][2][2] = 8;
<7> TML, no.
<10> existance: how did the process start?
<1> JasonWoof: You could always TIAS.
<7> TML, I can't tell what PHP does when it runs the exec command
<7> tempest1, i started it from the terminal to try out the /dev/null thing, it's gone now.
<19> TML: what's TIAS
<1> !+TIAS
<20> [TIAS] Try It And See. If you want to know if something works, try it first.
<19> yeah, ok
<1> JasonWoof: We generally encourage experimentation over question/answer
<19> I just remember there being some rather complex/subtle issue, and I don't want to discover it after I have a big project using this code
<15> JasonWoof, it's totally fine. That's basic array syntax.
<7> TML, exec runs null like its supposed to but I have no idea why it doesn't execute the process...
<7> TML, err
<7> TML, returns null
<1> JasonWoof: There's not really anything I can think of that's particularly complex or subtle about that.
<1> existance: How do you know it doesn't?
<10> existance: what are you trying to do?
<7> TML, i ps | grep for it and it doesn't show up
<1> existance: Should the process run and return, or should it stay around forever?
<7> TML, forever
<7> tempest1, i'm trying to run a process in the background from PHP
<7> TML, it's required for the program I have, so if it isn't running when you open it I want it to run
<10> existance: ah, have you tried forking one?
<7> tempest1, forking a PHP script?
<10> yea, pcntl_fork() i think
<7> tempest1, all the examples I can find only fork PHP scripts, can it also fork a command?
<10> existance: you can fork a PHP script and then run a command
<21> tempestl: Is it possible the external command just finishes before top has a chance to update and include it in the list?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

tinkercrowns
#lisp
gentoo awk: error while loading shared libraries: libdl.so.2: cannot open shared
apt-get install nvidia-kernel-sources
netra t1 105 tutorial
#linux
ubuntu ath0 wifio
kopete s-video
undefined symbol: empty_string in Unknown on line 0
#python



Home  |  disclaimer  |  contact  |  submit quotes