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



Comments:

<0> Davey|Work tanks, i ill try talk better now
<1> you need a variable to track the iterations and use that as the key, or use $foo['name'][] and $foo['email'][]
<2> Yeah, ofcourse
<1> secondly, as I said, use file(), foreach (file($filename) as $line) { }
<1> other than that, you pretty much have it
<2> Davey|Work: file() seems nifty, didn't know about that actually :)
<1> I had a friend who left her vibrator at her mother-in-laws, and she came back and the M-I-L had used it o.O
<1> hrm, that was *so* the wrong channel :)
<3> Davey|Work: DUDE
<3> x_X
<2> hehe
<1> yeah, I just rock
<4> and i bet you just wanted to be SO on bash :p
<3> rofl
<5> caffinated ... you here?
<6> bash takes a special breed of degenerate



<6> davey's good, but not that good
<3> hah
<4> exactly
<4> and it's especially in bash already 100 times ;)
<4> in little variatons
<7> hey, its not directly php related, but this is the closest channel :) does somebody know how i can protect my images like imdb does?
<6> badb: watermark em, or stretch a transparent gif over the images
<8> redalpha: briefly .. gotta get some work done
<7> ok thanks p0windah.. do you have a script that does it?
<9> Placed under the heading "YOU ARE A DUMB***!" --> http://edition.cnn.com/2004/TECH/10/05/spark.bajabeach/
<6> no
<8> p0windah: that's right, reall men use zsh
<8> oh wait, you're talking about bash.org heh
<3> lol!
<4> omfg i just wondered why that script kept not working... until i just noticed i used $_FILE instead of $_FILES -.-
<6> :)
<0> prophile you can help me?
<9> mattmcc: You'll like this ----> Placed under the heading "YOU ARE A DUMB***!" --> http://edition.cnn.com/2004/TECH/10/05/spark.bajabeach/
<9> Now, here's a laugh (notice the year), not to mention the content --> http://www.real-id.com/
<6> wow
<10> lol
<6> thank god the link I almost pasted didnt show in the channel :)
<9> http://www.ibiblio.org/Dave/Dr-Fun/df200601/df20060116.jpg
<10> hahaha
<10> it's funny because its true
<10> which is also why it isn't funny
<4> lol.
<11> Jymmm: I bet if you ran that poll again in five years, the results would be flipped.
<9> mattmcc: I already have schematics to build an RFID detector, so when they RFID's are implanted in ID cards it'll be destroyed
<9> mattmcc they already have them in US P***ports.
<10> heh 106
<9> mattmcc But they finally got smart and put a shield in the p***ports to prevent others from grabbing the data for identity theft.
<11> If you trust their shield. :P
<12> Maybe yo can help. I there a function that randomly picks either + or - ?
<9> mattmcc: It's been independantly tested =)
<9> mattmcc so, hell no I dont trust the gov!
<6> yah, I have a brand-new digital ID card(HK)
<9> and sadly, if you're really desperit... yes a duct tape wallet does work.
<13> oh, tin foil wallets.... that's look good with my matching hat
<10> tin foil hats r bad
<10> i mean
<10> are bad
<6> tin foil?! what happens if want to take a take in vinegar or something ?
<6> take a take... take a bath perhaps :)
<10> heh
<13> wah?
<6> take a take a take a take
<9> And in closing.... http://www.rpi-polymath.com/ducttape/RFIDWallet.php
<14> woof
<15> woof
<16> bark
<15> hehe
<15> is it possible to get the dir the filephp you're "viewing" is in?
<15> $_Server something I guess
<15> DOCUMENT_ROOT only gives, well - docroot
<15> Is my question clear?
<16> PHP_SELF ?



<16> I think it gives you full path
<17> ramvi: you mean etcwd()?
<17> *getcwd
<18> How do you obtain strings within certain other stings, like say you had \t"blahblahblah" and you only wanted what was inside the ""
<16> true... that will work too :)
<19> Stormchaser: that works until you are in CLI mode.
<15> Hurray for getcwd -- thanks :)
<20> what is the best way to convert a char into its corresponding ascii decimal value
<0> how is the best hearders to send mails with html??
<19> kon_: ord()
<21> hi all. I'm trying to write a regular expression that will replace any <img tags with "" nothing... but only if the <img tag doesn't have <!-- --> before it
<20> thanks!
<0> i use thats headers http://pastebin.com/557964
<21> so I want to put a sub-expression in front, but with a NOT in front
<0> but my img tags work bad :(
<17> storm@storm:~$ php -r 'echo getcwd();'
<17> /home/stormstorm@storm:~$ <-- Then why does this work?
<21> is that possible?
<19> davidwinter: why would it matter?
<21> jcoby: ?
<19> Stormchaser: create a file in a different directory that echos getcwd(). getcwd() in cli mode returns the dir the script was run from.
<19> davidwinter: why does it matter if it replaces html in comments?
<18> Anyone know how I would only keep the string in "" if i had something like \t"blahblahblah" ?
<21> jcoby: I don't want: `<!-- --><img....` to be replaced... but I do want any other <img tags replaced
<21> I'm just putting a comment in front to tag it
<22> DogWater: php.net/preg_replace and php.net/substr
<17> jcoby: The same is with SAPI... if you include a file from the root dir, anc include the file with getcwd(), then that will point to the root dir.
<18> prophile: what I mean is: I want to find out what is IN the quotes. I'm trying to read a textfile into a database
<19> davidwinter: ahhh
<21> jcoby: something like: !(<!-- -->)(<img(.+?)>)
<21> where the ! would represent not matching that sub-expression
<21> if it was before
<19> Stormchaser: what i mean is this: in CLI mode, getcwd() returns the dir the script was run from. in CGI/SAPI mode, it returns the dir the script exists in.
<17> jcoby: nope
<23> help
<23> if ($this->db_type=="mysql"){
<23> while($data=mysql_fetch_row($this->results)) {
<23> $this->page = $currpage;
<23> // write the horizontal borders
<23> $this->Line($l,$h,$fullwidth+$l,$h);
<22> let him off
<22> it was only five lines
<23> opss sorry
<23> :O
<23> i kicked bcoz i did big flood
<23> if ($this->db_type=="mysql"){
<19> Stormchaser: if you find something different, you aren't using CLI mode. I just tested it on 4.4.0 and it behaves as i wrote.
<23> whats wrong with this line?
<23> the word "mysql" color is changed then all
<17> jcoby: in index.php include file 'some/other/path/test.php' containing 'echo getcwd()'
<17> jcoby: I don't claim, that CLI doesn't act like that, but I am laming, that other SAPI work in the same fashion.
<17> s/laming/claming
<24> Hello, i'm writting an xml with spanish characters to use with an xslt file, but i'm getting this error when i see it from the browser: Warning: DOMDocument::loadXML() [function.loadXML]: Entity 'oacute' not defined in Entity...... Any suggestions???
<22> agux: don't write spanish characters to the xml document?
<24> haha i really need to
<24> i though about it too
<24> haha
<17> agux: What charset?
<24> xml file is utf-8
<24> i have to configure something in the DOMDocument object?
<11> XML does not define named entities. You need to use their numeric values.
<11> Well. XML defines a few named entities. lt, gt, amp, etc. But none of the ones you're used to from HTML.
<24> i'm dont have any entitie in the xml file, just the spanish character
<25> hello, is it possible to send sms messages with php? ie. are there libraries... /
<25> err. checking pear
<17> agux: How do you encode them?
<24> if i use entities in the xml, it shows as is
<24> mmm
<24> from editplus just save as and encoding:utf-8
<17> mandric: Well... your provider should give you API to communicate with
<24> and i have the utf-8 header in the xml file, this is driving me crazy
<26> Hello...
<25> Stormchaser: that's also called an smsc (center)?
<26> ... anyone in here use the PHPMailer cl***?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

kqemu tmpfs
perl IEAutomation existing explorer
#gentoo
ubuntu 1680x1050 how
bcm43xx debian kernel panic
karstenrage
#math
ubuntu sqlyog cannot connect
adept aptitude uninstall
jeeaar



Home  |  disclaimer  |  contact  |  submit quotes