@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> I want to divide several sentences, so they fit on several lines. I want to display them through imagestring, that's why they can't be too long for the image.
<0> this is what i tried, but it didn't work:
<0> $j = 15; $words = explode(" ", $txt); while ($words[$j]) { $one = strpos($txt,$words[$j]); $ou = substr($txt,strpos($txt,$words[$j-15]),$one);
<0> imagestring($im, 2, 10, $j + 20, $ou, $textcolor); $j += 15; }
<1> @wordwrap
<2> (PHP 4 >= 4.0.2, PHP 5)
<2> string wordwrap ( string str [, int width [, string break [, bool cut]]] )
<2> Wraps a string to a given number of characters using a string break character
<2> http://www.php.net/wordwrap
<3> turdwrap
<4> pizza, stab evulish in his bad eye for me.
<4> i think he got semen in it.
<4> :X
<5> hi
<5> could anyone tell me how to run a mambot that i uploaded to joomla
<3> Yeah, Joomla can.



<3> And the Joomla developers can
<3> but we don't support third party apps
<6> maxwwells: didnt we tell you earlier that you wont find support for 3rd party apps in here?
<7> @php echo date("m.d.y h:ia",1145170800);
<8> @php echo date("m.d.y h:ia",1145170800);
<3> @php echo date("m.d.y h:ia",1145170800);
<2> Result: 04.16.06 12:00am
<3> :)
<8> thanks :)
<8> i swear i was in mod_spox
<4> did you get off?
<8> no only he did :(
<4> sappy bastard!
<0> how do I add an image inside an $im? (gd built image). Do I use imagecopymerge ?
<9> @imagecopymerge
<2> (PHP 4 >= 4.0.1, PHP 5)
<2> bool imagecopymerge ( resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct )
<2> Copy and merge part of an image
<2> http://www.php.net/imagecopymerge
<9> sounds like it
<10> is there a way to get a list of all the tables in a sql db like %blah% and print them out?
<10> i know i can do it with records, but tables???
<10> hmm
<11> yeah, show allows like
<11> show tables like '%foo';
<10> neat!
<10> <3
<12> is php .asp equally secure ?
<13> define secure
<13> you can write insecure code in any language
<12> right.
<12> my question was misplaced.
<11> it protects data with a shotgun
<11> that's what i want
<12> so what is the hype about .net, because it pays more ?
<13> **** a shotgun. i want full auto..
<12> ok just answer my question.
<13> i myself have never used .net so i dunno.
<9> Jstr: it's a framework created by one of the biggest names in computers
<13> microcrap
<11> the biggest problem is not so much the language, but what it has to run on
<14>
<11> asp.NET requires IIS
<11> unless you use mono
<11> or pnet
<12> right, so it's basically a money issue since microcrap pretty runs it all.
<11> well, you can use asp.net on non-windows systems
<11> i think writely that google just bought, or one of the products they bought was written in asp.net
<11> and they are using mod_mono to run it
<14>
<11> wtf?
<6> wtf over
<15> take that
<6> anyone ever messed with postgis?
<16> how can i do this in a code? "do a select query on a database, then display the last entry"
<6> limit 1
<6> or offset
<17> will limit 1 select the first or last one in the array?
<11> it's not an array
<11> it's a result set



<11> :-D
<17> okay, but wouldn't limit 0,1 select the first record?
<16> where can i find the exact codes? is there a url?
<6> bizkwet: depends on the db
<11> Technobabble: yes
<6> also, remember that you need to order it somehow
<11> limit 1 will give you the first result of the result set
<16> using mysql, follower
<11> and if it's sql, it should be the same
<17> he wanted the last, right?
<16> yes the last
<11> select fields from table order by field desc limit 1
<16> ok thanks
<11> where field is some sort of auto-increment id or date or what ever
<6> god damn psql isnt taking readline for some reason
<18> puff puff... puff.. choke.. cough cough!
<17> lol, cv
<17> your little 420 **** is funny
<18> thanks. I try to change up the msg from time to time
<12> it's 4:22
<12> your late...
<18> no
<17> CV's time server isn't configured
<19> helo
<12> Technobabble: he is on the west coast, 3 hrs behind me.
<16> 1 more question hehe
<17> it was the minutes i was refering to
<19> does anyone know how to get the number of days between two dates?
<4> @datediff
<17> hungarys, there are definately date functions for that
<11> math!
<4> or some **** like that
<16> how can i create a global variable.. i.e. the variable is available to all links ?
<19> ok cheers
<12> RTFM.. like they tell me.
<16> using $_SESSION ?
<16> errrr.. just my lucky day.. nobody answers me when i ask that question
<11> session will keep persistant data between scripts
<11> if you want a global variable just within a script
<11> use the global keyword or the $GLOBALS super global array
<14>
<2> DjKaye has been banned for 1800 seconds
<12> Vibe, what happened to your site?
<11> it's always nice when you close a tab and the whole freakin browser just goes away
<19> true
<18> wtf
<18> I hate working with dates and time
<18> this returns the year 2000
<18> $bday = mktime( 0 , 0 , 0 , date("m", $row["bday"]) , date("d", $row["bday"]) , 0 , date("Y") );
<18> $row["bday"] is 04/04/1980
<18> $bday returns 04/04/2000
<18> date("Y") should give it 2006, no?
<18> errr
<18> http://pastebin.com/750291
<18> kicken, can you help me out?
<20> maybe, if you answer a question for me :)
<18> kk
<18> I will try
<20> I need a new hard drive. I found a nice 250gig ATA-133 drive. Problem is I can't remember if my MOBO supports ATA-133 or just ATA-100.
<18> you're askin the wrong guy, buddy
<18> I can answer it for ya, but I can't guarantee it :)
<6> i got a 250g external usb for $99 a couple of weeks ago
<20> hah.
<18> kicken, http://pastebin.com/750291
<18> $bday is returning a date with the year 2000. any ideas why? or what I'm doing wrong?
<18> $bday = mktime( 0 , 0 , 0 , date("m", $row["bday"]) , date("d", $row["bday"]) , 0 , date("Y") );
<20> I need internal drives. The one I have is dying.
<20> My USB ports are in use too.
<20> http://www.newegg.com/Product/Product.asp?item=N82E16822152031 that's what I'm thinking about getting.
<18> *sigh*
<20> bday in the database is a unix timestamp?
<18> is an int


Name:

Comments:

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






Return to #php
or
Go to some related logs:

lucky kabutari
#chat-world
#india
#kl
janda gersang
mesentary adenitis
#chat-world
www.team-ftm.net .zip
ses beklemek
#allnitecafe



Home  |  disclaimer  |  contact  |  submit quotes