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



Comments:

<0> http://www.php.net/swf
<0> please to introduce yourself to the manual
<0> kthx
<1> ok, going to read :)
<2> oh. feh.
<2> Not thinking straight :(
<1> thats allright :)
<3> :s
<3> no, continue showing me the same error, I put it thus
<4> spox, what is "kthx" mean ?
<0> @udefine kthx
<5> Definition for kthx:
<5> A blatantly sarcastic way of saying "Ok, thanks" in 1337 sp3ak.
<5> Example usage: -Internet talk isn't even worthy of being called a dialect. It's a mutilation of language, and we are the people who have to compensate for it's brazen idiocy. -lol kthx
<0> urban dictionary, if loving you is wrong, i don't want to be right
<6> i ****ing hate the urban dictionary



<6> it's chalk full of useless inside joke terms and utter crap
<0> sure, it has been over run
<0> but there are still some gems in there
<6> yeah, it was great in the beginning
<3> http://pastebin.com/732568
<3> is the code
<0> the majority of the internet == utter crap
<6> then everyone saw it as an opportunity to coin their own phrases and try and get them used widespread
<3> Two-Bits are you talking to me?
<0> viso: print your query and look at it
<6> no
<3> yes spox see it please
<0> also, you don't need to escape the " when you are in a string using '
<6> mysql strings are delimited by ' not "
<6> which is why ' needs to be escaped in text
<0> Two-Bits: he's concatenating
<4> i c
<0> "stuf blah".func().'\"
<0> don't need to escape that
<6> $viento="UPDATE phpbb_posts_text SET post_text=\"".mysql...
<6> no he's not
<6> he's litereally putting a " in the sql to denote the start of the value
<0> post_text=\"".mysql_real_escape_string($veoveo['post_text']).'\"
<0> YES HE IS
<4> kthnx
<3> let me show you
<3> http://www.pirata777.com/control/mod_automatico_foto.php?t=1831
<3> where in red color appear the query, and down the error
<7> ty
<6> spox: does mysql allow double quotes as string delimiters IN the sql? yes or no?
<0> to specify a string, yes
<0> update table set value = "some value";
<0> that is valid
<3> well, i guess that is simple, I will try
<3> what is the error, did you see it? http://www.pirata777.com/control/mod_automatico_foto.php?t=1831
<3> mmm
<0> $viento= 'UPDATE phpbb_posts_text SET post_text="'.mysql_real_escape_string($veoveo['post_text']).'" WHERE post_id="'.mysql_escape_string($top_guia[$i][0]).'"';
<0> you don't need to escape the string in the where clause if you check it to make sure it is a number
<6> spox: i've never see that...
<3> the "where ..." dont need to be scape, is a number
<0> where does the number come from?
<0> are you sure it's going to be a number?
<3> I select a row in the db, then I use str_remplace to put ones pic in the text
<3> and then I update this
<3> obviously that I use the id that Took in the p***ed query
<3> well, if you see the query is showing you it
<3> iles003' WHERE post_id=4053
<3> thus the var finish ---> mysql_query($var,$link);
<3> problem fixed
<3> :D
<3> I used all with ' simple coutes
<3> and done
<3> worked
<8> does somebody know how to get thge image type from an image resource (not a filename)?
<9> @*image*
<5> Functions matching *image*:
<5> Lots of matching functions. Truncating list to 20 results.
<5> cpdf_place_inline_image(), exif_imagetype(), getimagesize(), image2wbmp(), image_type_to_extension(), image_type_to_mime_type(), imagealphablending(), imageantialias(), imagearc(), imagechar(), imagecharup(), imagecolorallocate(), imagecolorallocatealpha(), imagecolorat(), imagecolorclosest(), imagecolorclosestalpha(), imagecolorclosesthwb(), imagecolordeallocate(), imagecolorexact()
<10> I have watched all of those
<9> @*image*type*
<5> Functions matching *image*type*:



<5> exif_imagetype(), image_type_to_extension(), image_type_to_mime_type(), imagetypes()
<10> most functions need the filename
<9> @exif_imagetype()
<9> @exif_imagetype
<5> (PHP 4 >= 4.3.0, PHP 5)
<5> int exif_imagetype ( string filename )
<5> Determine the type of an image
<10> need filename
<5> http://www.php.net/exif-imagetype
<10> I kbow: they need a filename
<9> Then save it to a temporary file
<10> Oh, yes, thats of course possible.
<10> but seems a little complicated
<9> it's a lot better than holding a huge image in memory..
<10> well.. I wanted not to save it but to p*** them after sending image header, directly to the browser
<10> but of xourse I need to know the type of the image to know what function (imagePNG/jpg) to use
<9> Oh so these are files you're storing locally?
<10> no. I get them via socket connection from remote server
<9> weird.
<10> through proxy. I use PEAR proxy socket connection and use createimagefromstring. Now I have the resourse and size and height but no type!
<9> I'm curious why you're doing it so convolutedly
<9> hehe
<7> Zenethian: The mind works in mysterious ways
<7> @*dba*
<5> Functions matching *dba*:
<5> Lots of matching functions. Truncating list to 20 results.
<5> dba_close(), dba_delete(), dba_exists(), dba_fetch(), dba_firstkey(), dba_handlers(), dba_insert(), dba_key_split(), dba_list(), dba_nextkey(), dba_open(), dba_optimize(), dba_popen(), dba_replace(), dba_sync(), dbase_add_record(), dbase_close(), dbase_create(), dbase_delete_record()
<7> Ssup all
<11> is php.net broke?
<9> looks that way
<9> http://us2.php.net/ work
<9> NO ITS MINE
<2> NO ITS HIS!
<2> hullo Zenethian
<9> Hello
<12> hello people
<7> oh well
<7> time to go home
<12> i'm having some weird problems with $_SESSION
<12> can i paste some code?
<9> on the pastebin
<9> not in here
<12> are all arrays in PHP really map's? or is there a way to have a proper array?
<9> explain "proper" array?
<12> an indexed array..
<12> which is as long as the number of indices..
<9> all arrays in PHP are ***ociative, so you simply index them by number.
<12> but you can also refer to them by string or anything else.
<9> no, just use numbers as the key
<9> or use foreach
<12> hmm..
<12> should i make a habit of explicitly typing variables?
<12> like int $a instead of just using $a?
<12> i keep treating php just as if its c.. but the more i use it, the more i realise that the wrong way to go about stuff.
<12> i'm writing data to _SESSION, but it seems to just get lost sometimes..
<12> i cant understand why.
<12> other data written exactly the same way seems to stay there..
<12> it seems that the first thing i write seems to get lost almost all the time (but not always)
<12> its hard for me to test that tho, because i cant seem to reset the session :/
<11> why does mysql hate me?
<12> i hate you too, it must be universal ;)
<12> okay, is there a way to properly delete an item from an array?
<12> and is there a way to properly reset a session?
<13> anyone use mapserver and php 4.4.1 before ?
<14> manu: session_unset();
<15> heyas :)
<15> holy ****, lotta people tonight
<15> anyone here used Services_JSON?
<16> hey
<7> yep yep
<7> Ssup
<16> im wondering..


Name:

Comments:

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






Return to #php
or
Go to some related logs:

bangalore lonely lady
#allnitecafe
#vb
unixer.net
#allnitecafe
where is my elephant bart simpson
nisha allnitecafe
chat sirya
#chat-world
serembam



Home  |  disclaimer  |  contact  |  submit quotes