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



Comments:

<0> lol at jiggy[wasted]
<1> woohoo! Spring cleanup! :)
<2> in python it's "string"*count i.e "string"*40 in perl it's similar but with x in place of the *, like "string"x40
<3> bb %jiggy[wasted}!.... yeah i was just about to say
<4> Adam1213: Given that you didn't p*** a %1, %2, or %3, what do you expect that bat file to do?
<3> i remember that too, wasnt long ago :P
<3> hrm
<5> well if i do or don't p*** it it will still make a file
<5> if I run it without that it makes a.txt with in it - -
<5> but when I try exec nothing happens
<5> it is not run
<5> exec("C:\test.bat");
<6> hello..
<7> hi.
<8> Adam1213: try "C:\\..."
<6> quick question: can someone tell me how to find PHP on RHEL ? I need to know under which directory PHP is installed ?



<5> it works! thanks maver
<9> As noobish as this is, does anyone have any resources that I can read up on "->" Seriously.
<6> thanks
<4> intel_in: Did you install PHP using your package manager?
<6> php is already installed. i am installing GD now
<6> and i want to see where is PHP so that i can read php.ini file
<4> intel_in: How was PHP installed?
<6> i am using centos ( it is already compiled )
<4> intel_in: Was it installed using a package manager>
<4> s/.$/?/
<2> intel_in, if you're on a *n*x based system, use the find utility or update your locate db and use locate
<10> Unix.
<4> reikon: That's possibly the LEAST reliable way to find it.
<11> ha
<2> TML not for me. i find things just fine that way...
<8> go Jymmm, go! :)
<4> reikon: I didn't say ineffective. I said reliable.
<10> If it works, it works.
<12> You people realize I'm making room to add all those that commented while I'm doing this right?
<8> lol
<4> reikon2: The point is that it doesn't always work.
<10> lol
<4> intel_in: How did you install PHP?
<2> TML, it works for me mate...it's a quick and sloppy way to do it but it gets the job done.
<10> reikon: I agree.
<2> A means to an end correct?
<4> reikon: For example, "locate php.ini" on my system returns 374 results.
<4> reikon: Making your way decidedly not useful for me.
<4> reikon: And many others.
<1> Jymmm: Please add I_am_muslim, please
<2> TML, yes but you're a PHP dev, this is someone who just installed PHP, exactly how many files you think they'll have relating to PHP?
<10> 1.
<2> they can easily wade through the Manager files...
<4> reikon: On a clean debian box, that can return between 3 and 21 files, depending on which packages are installed.
<13> !
<2> TML, not very much :) Easily visible which is a binary :)
<4> reikon: Binary? None of those are binary.
<4> Jymmm: Put that back.
<4> Jymmm: No reason to allow that at all.
<2> They're binaries.
<2> Executables....
<4> reikon: No, they're not.
<4> They're php.ini files
<10> Reikon: Alway's wrong.
<4> Jymmm: ChanServ's just going to add that one back, as well
<10> http://paste.insanityflows.net/
<1> Jymmm: Okay. thanks
<2> TML...I'm talking about the files in */bin/ directories...
<4> reikon: I'm not.
<2> Well there we have our misunderstanding :)
<2> I"M talking about the PHP binary, and you're not. :P
<4> reikon: He's looking for php.ini.
<10> um
<10> It's that hard to find?
<2> i only have 2...
<4> reikon2: It certainly can be, depending on what you have installed.
<2> recommended and actual use
<10> Ok
<4> reikon2: e.g., /etc/php.ini, /etc/php4/php.ini, /etc/php5/php.ini, /etc/php4/cli/php.ini, /etc/php4/cgi/php.inim, /etc/php4/apache/php.ini, /etc/php4/apache2/php.ini, /etc/php5/cli/php.ini, /etc/php5/cgi/php.ini, /etc/php5/apache/php.ini, /etc/php5/apache2/php.ini
<10> lol
<10> i'd just install 1 php client



<4> And that's not even counting the ones under /usr/lib, /usr/share, or /usr/local
<2> TML: [reikon@reikon: ~ ]$ locate php.ini /private/etc/php.ini.default, /usr/local/php/lib/php.ini, /usr/local/php/lib/php.ini-recommended [reikon@reikon: ~ ]$
<10> damn i gotta get on linux
<10> gotta reinstall linux
<10> lol
<4> reikon: Given that /private doesn't exist in the FHS, I don't see how you think your setup will match anyone else's out there.
<2> TML, because it's Mac OS X, and /* is a symlink there, and it otherwise works the exact same?
<14> how could i get around this with sprintf: $this->sql[] = sprintf('author like "%%s%"', $author);
<4> fastly: Get around what?
<15> fastly: use placeholders.
<14> you will see that the % from the like screws with the %s
<4> fastly: To get a literal % in s/printf, you need %%
<14> TML, cool that works thanks
<12> SELECT author like %%s%
<12> SELECT author like %%%s%
<12> scarry
<16> do you need to double the last %?
<4> Yes
<2> so why is php 4 still supported? j/w
<10> reikon: install php 5 on your server.
<9> More than 50% of the net runs PHP 4, sadly.
<2> i mean it's what i use, and i like it a lot, I'm just curious why if they're on a beta of 6 they have...multiple major versions supported
<2> haha
<17> I think there is alot of compatibility issues.
<2> i have PHP5, i just don't use it... >_>
<10> lol
<17> With scripts, so anyone is better off running php4 that php5.
<2> i was too lazy to change the default
<11> ****
<18> can i do two where statements on one sql query
<10> reikon: n0ob
<4> reikon: PHP4 is in maintenance only.
<17> Especially webhosts, to save all the trouble from cusotmers.
<3> my gfx card got too hot
<3> damnit
<3> ****, artifacts everywhere
<2> TML ahh are they going to start the EOL after 6 comes out? or?
<18> can i do like select * from table where x = 3 AND f = 2
<18> or something?
<10> believe so
<4> reikon: PHP4 is as "EOL" as it will ever be
<18> is that the right syntax
<4> !tell Jezek about sql
<18> hot
<10> SELECT * FROM Persons
<10> WHERE FirstName='Tove'
<10> AND LastName='Svendson'
<10> SELECT * FROM Persons WHERE FirstName='Tove' AND LastName='Svendson'
<2> Whoa...Xchat just flipped out on me...
<0> reikon oh yea? whys that?
<2> I was in another channel...
<2> and someone tried to send me a file
<2> and i came back to this channel
<0> lol
<2> and i got like 50000000 errors in here about xchardir
<2> xchatdir**
<0> was it something lile '..................' ?
<2> bunch of stuff like
<2> "eval [join [list getinfo $args xchatdir]]"
<2> [22:39] (procedure "xchatdir" line 1)
<2> [22:39] invoked from within"
<2> seems like it's from a script, but i didn't invoke any...
<2> maybe they're using perl now to help handle file transfers...
<8> I need to go: bye
<2> hmm
<19> regarding preg_replace()...
<19> it is un-perl-like in that it will replace all instances by default
<19> in perl, this requires ..../g
<19> is there a way to get it to only replace the first match?
<20> Add a 1 as the seconed arg?
<7>
<20> Wait, no, nevermind...
<19> ah, I added it as a 4th arg, and that worked
<19> freeone3000: ty


Name:

Comments:

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






Return to #php
or
Go to some related logs:

syntax error near unexpected token dbus
kubuntu ssh known_hosts
8mb in kb
libifp suse smart
cedega ZeroDivisionError
kubuntu to ubuntu upgrade
#css
#debian
#web
#suse



Home  |  disclaimer  |  contact  |  submit quotes