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



Comments:

<0> imagedestroy, imageellipse, imagefill, imagefilledarc, imagefilledellipse, imagefilledpolygon, imagefilledrectangle, imagefilltoborder, imagefilter, imagefontheight, imagefontwidth, imageftbbox, imagefttext, imagegammacorrect, imagegd2, imagegd, imagegif, imageinterlace, imageistruecolor, imagejpeg, imagelayereffect, imageline, imageloadfont, imagepalettecopy, imagepng, imagepolygon, imagepsbbox, imagepscopyfont,
<0> imagepsencodefont, imagep***tendfont, imagepsfreefont, imagepsloadfont, imagepsslantfont, imagepstext, imagerectangle, imagerotate, imagesavealpha, imagesetbrush, imagesetpixel, imagesetstyle, imagesetthickness, imagesettile, imagestring, imagestringup, imagesx, imagesy, imagetruecolortopalette, imagettfbbox, imagettftext, imagetypes, imagewbmp, imagexbm, iptcembed, iptcparse, http://www.iptc.org/, jpeg2wbmp, png2wbmp
<1> oh jesus
<0> http://www.php.net/image
<2> one of those
<1> looks like I need to curl up with the php.net manual for a while
<3> lol
<4> how do I explode a string with " as seperator?
<2> imagecreate?
<2> explode("/"", $string);
<2> no, i doubt that's right
<2> explode('"', $string);
<4> thanks
<5> ****.
<6> is disablable a word?
<7> yes



<7> its a strange word, but yes
<6> able to be disabled.
<5> i'd ahve to go with no
<8> fedt: either "\"" or '"' works
<2> aye
<9> After I've used mysql_fetch_array, is there a way to reset it, so that i dont have to re-query the server? instead, simply re-fetch it ?
<6> NetGene: it'll automatically move on to the next row
<1> imagecopyresized
<1> hawt
<9> I know, but after i go on all the rows, can I make it go to the first, to start again ?
<6> there's a reset... lessee...
<8> NetGene: probably not.. why would you want to
<8> you just asked for all the data from the server.. getting it again means you **** twice the bandwidth from the database server
<6> @mysql_data_seek
<0> (PHP 3, PHP 4, PHP 5)
<0> bool mysql_data_seek ( resource result, int row_number )
<0> Move internal result pointer
<0> http://www.php.net/mysql-data-seek
<6> NetGene: ^^
<2> groogs: just use $query and $array=mysql_fetch_array($query)
<1> mm.. store the array as a variable
<1> and then copy it to another variable
<1> work on the one, and then use the backup to reset it
<9> I have a large database, when importing big batches of new data, i need to check and match 2 different fields, if A and B = new A and new B, i have to move to the next line.. but its taking a long time.. so i was planning on just querying once, and fetching many times.
<8> or use a freaking database layer so you dont have to mess with that horrible interface
<8> $allrows = $db->GetAll("SELECT * FROM table");
<5> while ($blap[] = mysql_fetch_arary($doink)) { do whatever } foreach ($blap as $penises) { do wahtever some more}
<6> no, that's innefficient
<5> YOU'RE INEFFICIENT
<2> heh
<6> mysql_data_seek($rs, 0);
<8> NetGene: you're just looking for duplicates?
<9> i guess the stress on the DB is only when doing the Query... not on the fetch_array, correct?
<2> right
<9> groogs, yes, duplicate, based on 2 fields
<6> NetGene: the WRONG time to use this is if you're doing some post-processing that could be done quicker and more easily in the database itself
<8> NetGene: you can just have the db server do that
<8> just create an index on those two fields with UNIQUE
<9> hmh... that could work too... let me try.. 1 sec
<5> select * from table AS table1,table AS table2 where table1.a=table2.a AND table1.b AND table2.b
<5> can you join like that?
<2> eww
<8> your app just has to handle the INSERT query appropriately, as it will return a failure code if there is a duplicate
<5> i know that's not a good way
<5> but that's possible, isn't it
<5> er
<5> replace that second AND with =
<5> you know what i hate? oracle's ROWNUM
<5> ****ing pain in my balls.
<5> oh, you mean i have to use two subqueries to select a ****ing range of rows?
<5> GEE THANKS
<7> um
<7> that's kinda weird.
<7> are you sure you're not just being stupid? :D
<5> yeah.
<5> http://troels.arvin.dk/db/rdbms/#select-limit-offset
<7> HAWHAWHAW
<7> LAWWLY
<7> Wow dude, that's a good reference.
<7> I wonder how anyone gets by with saying they're standards-compliant without having ROW_NUMBER? :-/
<5> heh. i dig that site



<5> has answered a few questions for me
<7> I do think I'm hungry.
<7> I should eat
<5> EAT COCK
<5> heh. i kind of like mssql's implementation of UNIQUE
<5> where you can have one null value
<2> why would you ever need that though?
<5> could be for a reference row
<10> groogs there ?
<2> i only use like 10% of mysql's functions cause most of them are just stupid
<5> heh
<5> the drycleaners melted my collar-stays :(
<5> wow.
<5> collar-stay is terribly gay.
<8> Bl4ckB1rD: ?
<11> bbl: Zz/Work.
<10> groogs got my memo ?
<10> or should i say... 2 memos...
<5> groogs: you forgot the cover on your TPS report
<8> Bl4ckB1rD: uhm ... not quite sure what you're talking about
<2> hahaha
<2> did you get the memo?
<8> smtp reject?
<10> groogs i sent you 2 memos thru memoserv here on dal.net...
<10> groogs you were talking about checking MX records before queueing mail on qmail...
<10> and removing all other mail... if there are no MX records...
<10> or something like that
<2> My name's Chris. I'm supposed to be on my best behavior tonight and not mention poo. OH MY GOD!! WHAT HAVE I DONE?????
<10> some patch for smtp...
<8> i didnt do that, though thats a good idea
<10> what did you do anyway ?
<10> can you give me link to your solution ?
<10> i'd like to look at it a bit more
<10> i'd be very glad for some link on the net or something... if it's public 3rd party "patch"
<8> all i did was setup "smtp reject" so the smtp server drops the connection before even receiving the whole message if the recipient doesnt exist
<8> i'm not sure where the link is.. try google for qmail smtp reject
<10> groogs you still have copy of the patch maybe ?
<5> heh. the CEOs wife is going out with us.
<7> qmail sux
<7> hehe
<7> bang her
<5> she's pretty hot
<7> how old?
<5> not sure. she just had a kid. i'd guess late 20's?
<5> maybe early 30's
<7> nice
<7> shes hot after having a kid?
<7> real nice.
<5> yeah. i was impressed.
<7> how long ago did she hve the kid?
<5> she's been gone for a few months
<5> she had it late summer, early fall maybe?
<5> oh, and she's loaded
<7> hewt
<7> loaded is nice too
<5> god damn. i've worn out my shoes.
<7> I am getting there
<7> these doc's are 2 years old
<7> I've never had a pair of shoes last more than 6 months on my deranged feet.
<7> so I'm really impressed.
<12> hello i want in apache server when a user tries to enter a folder for exaple: url/priv to prompt him for authorazation
<5> i can't wear docs
<7> no?
<7> it takes like 3 weeks to break them in
<12> how should i implement this?
<7> and I'm actually not sure if its the shoes or your feet that are breaking in...
<5> yeah, i tried. they gave me shin splints
<7> but afterwards its wonderful.
<5> i tried all sorts of insoles
<7> weird
<13> heh, i'm going to knee the guy who came up with "Web 2.0" in the nuts.
<12> should i do that with an .htaccess file on the folder or with a php script?
<7> Web 2.0 .. yeah
<7> what a lame marketing-driven term


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#allnitecafe
#allnitecafe
#kl
#allnitecafe
miss universile
#kl
#worldchat
cache:l1H8OUbbLCAJ:www.quotesdb.info/dalnet/worldchat/26Jan2006/6.html طيزه
#chat-world
#allnitecafe



Home  |  disclaimer  |  contact  |  submit quotes