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



Comments:

<0> i have a **** load of NICS
<0> i have like... 8 here
<1> does anyone know the tag for printing code, as code.. I have a string that it could as well be html in, and in that case I want to see the html, not have it beeing rendered
<2> changing < to &lt; should do it
<2> $string=str_replace ("<", "&lt;", $string)
<2> and do the same for the > i guess
<1> alright...
<1> thanks
<3> guys, do you know a nice ajax framework that functions easily with php?
<4> ****, some bitch gave me mono.
<5> ha
<4> next time i see her, i'll **** her in the butt.
<6> sajax
<5> Mr_Eko: http://www.modernmethod.com/sajax/
<6> I WIN
<5> http://www.xajaxproject.org/



<5> also, rails
<5> but that's ruby
<7> yeah, xajax is fairly nice
<6> zachistan would be a good band name.
<4> man, we should really find a trollgirl to make trollboy a trollman.
<7> i need a regex .. how can I match "unique" if it's in a string seperated by "|" or at the start or end? ie.. "unique|something", "foo|unique|bar" match, "unique1", "foo|notunique" don't match
<5> i think it would be hard to find one he wouldn't crush
<7> hrm, or perhaps i should just expode() and array_search() ..
<4> well, ***uming the string is rather short, the explode/array search approach should be fast enough.
<0> hey spox
<0> what's with these GREEN ORANGE BLUE ****
<6> they're m&m's.
<0> red is apparently modem or isdn
<5> they are interfaces
<5> red is outside
<5> orange is dmz
<5> green is inside
<5> blue is wireless
<0> ooooh
<0> so i'll need a green orange red
<0> wait, should my webserver run on the dmz?
<0> or just another green with 80 and 21 and such forwarded
<7> 21?
<7> hi, this is 2006
<0> ftp n ****
<0> and maybe some ssh
<7> 2001 called. they want their ftpd back
<0> lol
<5> Technobabble: green is where you should be
<5> orange is where your servers should be
<0> i have 3 nics though
<0> okay
<5> red is where the internet should be
<0> green orange red it is
<5> @php $string = 'foo|bar|unique'; echo preg_match('/(^(.+?\|)*unique.*)/', $string) ? 'good' : 'bad';
<8> Result: good
<5> @php $string = 'foo|bar|unique|ga'; echo preg_match('/(^(.+?\|)*unique.*)/', $string) ? 'good' : 'bad';
<8> Result: good
<5> @php $string = 'foo|bar|dunique|ga'; echo preg_match('/(^(.+?\|)*unique.*)/', $string) ? 'good' : 'bad';
<8> Result: bad
<5> @php $string = 'unique|ga'; echo preg_match('/(^(.+?\|)*unique.*)/', $string) ? 'good' : 'bad';
<8> Result: good
<5> does the word have to be unique only
<5> @php $string = 'foo|bar|uniqued|ga'; echo preg_match('/(^(.+?\|)*unique.*)/', $string) ? 'good' : 'bad';
<8> Result: good
<5> @php $string = 'foo|bar|unique|ga'; echo preg_match('/(^(.+?\|)*unique.*)/', $string) ? 'good' : 'bad';
<8> Result: good
<5> ?
<3> i don't understand how that sajax stuff works
<9> PAT SAJAX
<7> spox: yeah. thanks tho
<7> @php $string = 'foo|bar|unique|ga'; echo preg_match('/(^(.+?\|)*unique(\|.+)*)/', $string) ? 'good' : 'bad';
<10> @php $string = 'foo|bar|unique|ga'; echo preg_match('/(^(.+?\|)*unique(\|.+)*)/', $string) ? 'good' : 'bad';
<5> @php $string = 'foo|bar|unique|ga'; echo preg_match('/(^(.+?\|)*unique(\||$))/', $string) ? 'good' : 'bad';
<8> Result: good
<10> @php $string = 'foo|bar|unique1|ga'; echo preg_match('/(^(.+?\|)*unique(\|.+)*)/', $string) ? 'good' : 'bad';
<5> @php $string = 'foo|bar|uniqued|ga'; echo preg_match('/(^(.+?\|)*unique(\||$))/', $string) ? 'good' : 'bad';
<8> Result: bad
<5> that one will work
<10> i didnt know you could do \||$
<10> @php $string = 'foo|bar|unique'; echo preg_match('/(^(.+?\|)*unique(\||$))/', $string) ? 'good' : 'bad';



<8> Result: good
<10> well, nifty
<10> @php $string = 'foo|bar|uniqued|ga'; echo preg_match('/(^|\|)unique(\||$))/', $string) ? 'good' : 'bad';
<8> PHP Warning: preg_match(): Compilation failed: unmatched parentheses at offset 18
<8> Result: bad
<10> @php $string = 'foo|bar|uniqued|ga'; echo preg_match('/(^|\|)unique(\||$)/', $string) ? 'good' : 'bad';
<8> Result: bad
<10> @php $string = 'foo|bar|unique|ga'; echo preg_match('/(^|\|)unique(\||$)/', $string) ? 'good' : 'bad';
<8> Result: good
<10> @php $string = 'foo|bar|unique'; echo preg_match('/(^|\|)unique(\||$)/', $string) ? 'good' : 'bad';
<8> Result: good
<10> @php $string = 'unique|foo|bar'; echo preg_match('/(^|\|)unique(\||$)/', $string) ? 'good' : 'bad';
<8> Result: good
<10> thats pretty simple actually.
<10> thanks spox
<5> sure
<11> please can any one help me??
<11> i have a note. it`s consist of many words.
<5> only if you ask a question
<11> can i have a function to select some word to showing it to the user??
<5> sure
<11> what is it??
<5> @php function show_word(){ echo 'word'; } show_word();
<8> Result: word
<11> thank you spox
<0> spox, this thing pretty much replaces my linksys router, right?
<5> yeps
<10> show_that(); show_would(); show_be(); show_a(); show_fun(); show_way(); show_to(); show_program();
<5> put replace "pretty much" with "does"
<5> lol
<0> lol
<0> good
<5> Technobabble code!
<11> thank for all
<0> because my ****ing linksys doesn't like my UPS's powers waveform
<0> so whem my power goes down
<0> my intarweb goes down too
<12> whatcha got, Tb
<5> ipcop has lots of nifty plugins
<0> i have a big ****er
<1> good god, you have your own heaven here spox
<10> one of my friends was in a cl*** where they were learning php. apparently the teacher made them echo every html tag individually, and didn't let them break out of php when printing a big chunk of html
<5> Kanzie: ?
<0> groogs, taht would ****
<10> Technobabble: that is strange. what kind of ups?
<0> it's an old thing
<0> it's big
<0> you can see it on the bottom
<0> Tripp Lite Smart Pro 3000 something
<0> i thought it was hospital grade, but it puts out that stepped wave form
<10> most sub-$10k UPSes do..
<0> so everyone plays nice with the stepped
<1> spox: all your fancy toys for helping us php-wannaknows out
<0> except the old linksys
<0> Kanzie, it's a bot
<1> more nifty than fancy actually
<1> I get that
<0> bots do taht kinda ****
<0> @php echo "kanzie ****s";
<6> http://pastebin.com/723525
<8> Result: kanzie ****s
<10> thats very strange, a normal wallwart should have no trouble with that since it as a capactor in it anyways
<6> well this has been a fun day of making a mess of javascript
<10> or it's switched and in that case it should be able to handle just about anything
<10> (ie, usually a 5v switched power suppy can handle a source voltage of like 70-240VAC
<0> it gets it's red error light on it
<10> do you have a multimeter?
<0> and it just refuses to route packets
<1> anyways... how do I destroy a variable?
<0> not one that will read a stepped wave form
<0> it reads out at about 94 V output
<10> maybe your ups is broken ..
<5> @unset
<8> (PHP 3, PHP 4, PHP 5)


Name:

Comments:

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






Return to #php
or
Go to some related logs:

SONATA2008
anjalina in india
gtyuui
#chat-world
SCOTTY DOESEN'T KNOW
#kl
ankarada travesti
vcdz.info
hi2 world
#india



Home  |  disclaimer  |  contact  |  submit quotes