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



Comments:

<0> i got an old xyz axis machine thingy from my grandfather yesterday, and i cleaned it, took out everything not needed, plugged it in... turned the key.... and it went up in smoke :(
<0> (literally)
<1> that ****s
<0> yea
<2> what would be a regular expression that would match anything?
<2> ""
<2> ?
<0> do you want to capture it?
<0> or just match it
<3> wundaboy: ".*"
<4> hi
<0> '/.*/' should
<2> thanks
<4> is it possible to extract a .phar archive w/o checking the checksums?
<1> itrebal: did you see my new box? :P
<2> what does the .* mean?



<0> jiggster: nope
<1> http://code.joshstmarie.com/blue-box/ looks simple now, but damn it was a bitch :p
<3> wundaboy: . matces any char and * maches 0 or more occurances
<2> cool
<2> thanks
<5> sprintf('Blabla %1\$s omgad %1\$s Bblabla %1\$s', $var); shouldnt that work? i get 'Too few arguments in '
<6> moo
<3> rightnow: sprintf('Blabla %1\$s omgad %1\$s Bblabla %1\$s', $var, $var, $var); should work
<3> rightnow: there are 3 %l and only one $var
<0> http://www.aim.com/triton/welcome.html thats exciting. why'd they forget about linux
<5> but i thought sprintf supported only one argument if i used %1\$s
<5> atleast that what it says on php.net
<3> rightnow: i'm not sure of that, can you gimme the link
<5> oh, now i think i know what it is
<5> it beacuse im using single quotes, i should have %1$s only
<5> http://www.php.net/sprintf
<5> http://se.php.net/manual/en/function.sprintf.php#27346 even better
<5> wee, works
<3> rightnow: yeah, i never use ' quotes. always use " quotes
<3> rightnow: cool, i should try that sometime :)
<5> ive heard single is much faster so i use that only
<3> rightnow: it is, but causes a lot of confusion at times
<5> yeah
<5> one thing i didnt manage to make with single quotes is:
<1> itrebal: whats linux?
<5> $_config['setting']['br']= "\r\n";
<3> rightnow: as the ' quote strings are read in as is, there is no overhead like those of " qoutes
<0> jiggster: lol
<3> yeah, i use single quotes exclusively in the array keys
<5> if i change that to '\r\n'; or '\\r\\n'; the rowbreaks isnt working
<1> itrebal: dont tell me it's some new **** yoga technique or something... something about lunar eclipses or something
<3> rightnow: lol, you are talking about the right side, yes, you need " quotes for anythign that has escaped content
<0> jiggster: yea it is
<1> ****ing great, my comp is running yoga then
<3> rightnow: if you print '\n', you will get the \n in the screen and not a new line
<5> outofjungle :D
<1> no wonder it doesnt do anything except sit there :P
<0> jiggster: i like it
<0> hehe
<5> but how do i get a new line with single quotes then? it gotta be possible
<1> my comp is about as agile as G. Bush's speeches
<7> rightnow: You *can't*
<7> !+quotes
<8> While single quotes (') can help with the parsing speed, they don't parse variables and characters like newline, tab or linefeed (\n, \t, \r)... You would need to use double quotes ("); More info here: http://hashphp.org/knowledge_base?kb_id=11
<0> jiggster: hehe, i knows how that it
<0> is*
<5> okey :) thanks!
<9> does anyone know a good php editor for linux, that has code completion and syntax highlighting?
<10> aikie, vim
<9> does vim has code completion?
<7> no
<10> why do you want that?
<9> because it is handy
<7> aikie: I found id, if you're more experienced, the code completion gets in the way...
<7> s/id/it
<10> i think eclipse do what you want
<9> thanks
<7> you don't want eclipse...
<7> !telll aikie about editors
<11> !telll cb921 about editors
<11> !telll cb921 about life, the universe, and everything



<11> sounds right
<12> hi, i have very strange problem with sessions. i have index.php in http://pastebin.com/564947 and index.php in /sklep http://pastebin.com/564950. my problem is here.i write localhost/index.php?lang=en . when i click on link to /sklep / (/sklep/index.php) i should get on url this line localhost/index.php?page=sklep&lang=en but i get in ulr this line localhost/index.php?page=sklep&lang= . i get void $_SESSION['lang']. i try do it from few hours bu
<7> o.O
<7> !+msg the bot
<8> Unless you're a ##PHP channel operator, please speak to the bot in private.
<0> ktos: how long have you been using PHP?
<5> ktos, where do you set the session?
<12> at idex.php and /sklep/index.php
<12> (session_start();)
<5> yeah, but you need to give the session a value
<12> how i can do it?
<0> $_SESSION['name'] = 'value'
<0> ;
<5> $_SESSION['lang'] = 'en']
<5> wops
<5> $_SESSION['lang'] = 'en';
<5> example
<5> like itrebal said
<0> woah ! pastebin.com is being pasted in from the future! -16806 sec ago
<12> ah, realy i did not see it
<12> i am trying
<12> yes, it is right, thank you!
<5> np
<12> can i use $lang and $_SESSION['lang'] ?
<5> yeap! two diffrent vars
<12> ok
<5> (if register_globals is Off, which is default)
<12> i have in can i use it?
<12> i have "on" *
<0> http://images.itrebal.com/various/pastebin_pasted_future.jpg
<0> ktos: turn it off
<13> Hello
<13> I have a very basic question but I don't find the answer:
<14> good for u, ask away ;x
<6> oh man, is there any alternative to ftp
<15> ktos: if you mean to use the session var, only use $_SESSION
<13> I have an object tha I want't to print. Is there some magocal function that do it?
<14> print_r()
<0> punkstar: you may be interested in a versioning sys, like svn
<0> !tell UltimateB| about u
<14> Im sorry, ill try to type my sentences correctly now.
<15> ktos: doing otherwise is not portable and register globals feature will be removed in future php version, maybe as soon as 6
<13> thanks UltimateB| , nice!
<7> punkstar: rsync
<14> No problem Dandre, good luck.
<12> ok
<12> tkanks
<12> itrebal: do you use gnore but kde?
<0> ktos: what?
<12> gnome or kde
<5> Is there any math economical functions avaiable somewhere for PHP? I want to calculate the montly cost for a customer that is about to buy a car on loan.
<0> er..... leme find out
<0> i dont really use either, but if its based on any of them - its gnome.... i use blackbox, without anything but xterm and other applications
<16> rightnow: go to phpcl***es.org and search - i imagine you will find something there
<1> oh man
<1> migraine city
<5> thanks mnoir
<1> head hurts... lights getting bright
<0> jiggster: ??
<1> headache hit me out of the blue a bad one
<1> ergh
<0> ouch
<12> i asked becouse you have got nice envirement ( firefox look nice ) :)
<0> gotchya
<12> on kde sometimes it look stragne
<0> i have KDE..
<0> hate*
<14> lol
<12> but screenshots was make on blackbox sure?
<0> yea
<12> ah, i hate
<0> http://images.itrebal.com/linux/blackbox.jpg
<17> what i have to observe when I port the php extensions of my company from PHP 4.0 to 5.1.2?
<12> you have a lot of app ran :)


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#linux
#javascript
#css
mysql commands update primary key
ubuntu libssl.so.4 cannot open shared
libsdl spdif
Linux NFS sevice
#javascript
post_idconfig
window.print ie7



Home  |  disclaimer  |  contact  |  submit quotes