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



Comments:

<0> well, that's not a number
<0> it's got a _ on the end
<1> the _ being a space at the end of the number
<1> well not reall a _ i just underlined the space
<0> well, trim it up then
<1> will do, gonna read the trim manual, see if it helps :)
<2> hi guys one more question.. if i input a string from a form and i want it to be write as html code in mysql, what fuction should i use?
<2> like : hello there [enter] how are you [enter] ---> hello there <br> how are you <br>
<0> @nl2br!
<3> (PHP 3, PHP 4, PHP 5)
<3> string nl2br ( string string )
<3> Inserts HTML line breaks before all newlines in a string
<3> http://www.php.net/nl2br
<4> !php $xhtml = nl2br("lol\nlol");
<4> !php $xhtml = nl2br("lol\nlol"); print $xhtml;
<5> lol<br />



<5> lol
<2> how bout if i have too longstring like : abdfeghijklmnopqrst become ---> abcdefghijk...
<2> what function should i use?
<2> wordwrap()?
<1> Fatal error: Call to undefined function money_format() in C
<1> :(
<6> wtf ancient php version are you using?
<0> 4.2.something
<0> money_format is 4.3 and up
<1> lol
<1> 5.0
<6> somehow i find that hard to believe
<1> PHP Version 5.1.2
<1> i m still running the deafuly config so maybe i have to enable it? ;\
<6> are you on windows?
<1> yes
<6> yeah, you're not going to be using money_format then
<1> windows 98 baby
<1> aww that sux ;\
<1> why would they have it on *nix version and not windows?
<6> because it's a wrapper for a function in a c library that doesn't exist in windows
<1> :(
<1> hmm, hrm, even when i trim the entry from the array it still wont add it ;\
<0> what is the string you want turned into a number?
<1> 4840.51
<7> is there a better way to send out a newsletter besides calling mail() on each iteration of a loop?
<0> that is the full string you want to turn into a number?
<1> ya,
<0> K|O|G|I: set up a bunch of the receivers in the bcc list
<1> i pulled it from file(), and str replaced the $ and , from it
<7> just send one mail to a huge list of bcc?
<1> and am trying to add to it now
<0> K|O|G|I: there is a limit, but i don't know what
<7> is bcc blind carbon copy??
<0> yes
<7> cool
<7> does the php docs on mail() cover that?
<0> froumowners: what is the _FULL_ string you are trying to convert to a number
<0> K|O|G|I: it should. it just gets added into the mail headers
<7> ok, thanks
<0> froumowners: what are you getting out of the file
<1> ahh, i think i see why i might have a problem heh
<1> <TD cl***=menutxt align=right>$ 4,202.82</TD></TR>
<1> i m tryin to get just the 4202.82 out of that line
<0> @php $a = '<TD cl***=menutxt align=right>$ 4,202.82</TD></TR>'; if(preg_match('/([0-9,\.]+)/', $a, $matches)){ $num = $matches[1]; } else{ die('**** off'); } $num = str_replace(',', '', $num); print $num + 5;
<3> Result: 4207.82
<1> wow
<1> thanx
<7> spox: php docs on mail() do not mention any bcc limits... where else should I look?
<0> http://www.colug.net/pipermail/colug432/2006-January/001911.html
<8> your smtp server
<0> you shouldn't base it off your smtp server docs
<0> you should base it off the standard
<0> thus, see link above
<6> reading is for pussies.
<8> anyway...you have issues if you're using BCC that much
<7> ok, so... as long as a single line doesn't exceed 998 chars, it's ok
<7> I could do... Bcc: address1,\n\t
<7> address2,\n\t



<7> address3
<7> etc
<8> heh
<8> nice nick
<8> where's CptHurtin?
<9> heh
<9> !rules
<9> yar
<9> Im having a problem with $_SERVER['PHP_SELF'] .. http://dalphp.shoggoth.net/pastebin_view.php?679
<9> wooah ^
<6> yeah, you can't use arrays like that inside of strings
<6> "blap".$_SERVER['PHP_SELF']."lkfjdlkjf"
<9> oh
<10> hey cv
<11> what's crackin?
<7> how truly blind is a bcc?
<7> does it still show up in the mail headers?
<7> so someone who knows how can get all the other addresses?
<10> send a simple email and sniff it
<12> *sniff* *sniff*
<13> pizza_milkshake and I are both on Uranus.
<4> I FARTED
<4> that's what you're sniffing
<12> :-o
<10> in diablo2
<10> the wanderer was who?
<4> K|O|G|I: if i recall correctly, bcc is popped at the mail server
<4> unless you're the desination
<4> +t
<7> i did a test mail and bcc is stripped from the headers before being sent
<8> as they should
<4> why does it seem to me that ironpython has stalled?
<14> ironpython ****s
<14> Microsoft swooped it up
<14> and then hosed it
<4> ha
<4> should i fork it
<14> you'd have to fork it pre-microsoft
<4> this code's pretty readable
<4> i don't see microsoft licensing anywhere in here
<4> * under the terms of the Common Public License v1.0
<14> hmm
<14> its written in C# right?
<4> correctamundo
<14> meh
<4> i speak enough c# to read this
<14> go for it
<14> call it
<14> RustyPython
<14> or
<7> if I call ob_start()
<14> IronyPython
<4> irony python
<4> i like that
<7> then run through a loop, echo text, and call ob_flush at the end of each loop, I should get progressive output as the loop executes, right?
<14> Activestate already stole Python.NET
<14> which was kinda a flop
<14> heh
<4> i suppose integrating with the CLR would be the hard part
<4> the python interpreter couldn't be that hard, the grammer's already written
<4> how did this guy do it
<14> yeah
<14> considering it's supposed to be a Microsoft Sekret or something
<4> actually you can load the CLR in your code if i remember right
<14> the problem with IronPython is that microsoft hired it's lead developer
<14> heh
<4> they have a C api
<14> heh
<4> whoa, this guy has python names in his c# code
<4> sys.modules[mod.__name__] = mod;


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#allnitecafe
#vb
How can you have any pudding if you don't eat your meat mp3
telnet keepalive linux
leo_18
thats the way aha aha he likes it
#linux
crawing in india
#kl
#linux



Home  |  disclaimer  |  contact  |  submit quotes