@# 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> any interesting questions metallic?
<1> http://www.oanda.com/products/bigmac/bigmac.shtml
<1> is it just me or does the PPP for some of those seem off?
<0> not peticularly
<2> Two-Bits: the most interesting was if they could search my suv. after that, it was when they tried to trip me up by asking me why i was going to dallas.
<0> i hate that question
<0> i wonder what the most appropriate way to say "i've nothing to hide, but i'd really rather you not waste my ****ing time in this heat!"
<1> metallic: how was that a trip-up?
<3> stomp on the gas?
<0> i would imagine he was between dallas and tulas heading in the direction of tulsa?
<0> or otherwise.. not heading towards dallas at the time
<4> i need to figure out a way to allow members to upload large files. php has a 20meg limit correct? does anyone know a way around this?
<1> php has whatever limit you specify
<1> edit your php.ini
<4> from what i've been told in the past you can edit that but anything over 20 wont work
<1> where did you hear that?



<4> everyone ive spoken to and a few posts on forums.
<1> have you tried it?
<1> i'd do that first before trying to find and alternate solution
<1> also, for uploading large files, http upload isn't exactly recommended, anyways
<4> yea i know but you cant run mysql queries with ftp uploads
<4> let alone expect the majority of visitors to even know what ftp is
<1> well i'm quite sure php supports uploads larger than 20mb
<2> evulish: trip ended up being pretty good. it was about 14 hours roundtrip but I saw most of my family while i was there and saw my cousin graduate from med school.
<2> does anyone have any experience with postgresql? i'm getting this error message:
<2> ERROR: missing ".."
<2> this is when it goes to compile my plpgsql function.
<2> hrmm, managed to get rid of it. still annoying.
<5> metallic: stored proc?
<6> when someone has a moment. when I am usin a form to update the db, and i use " i'm " it throws an error, how do I fix this issue?
<0> Jstr: mysql_real_escape_string
<6> ok. apparently, I don't understand. and yes, I am lookin @ the manual. can you be a bit more specific please?
<2> DjKaye: yeah.
<3> $query = 'insert into table (col) values ("'.mysql_real_escape_string($foo).'")';
<6> $foo would be ' or anything right ?
<3> well, i would ***ume it would be the data you want to insert
<6> ok. will you do 1 line for me ? :) i have tried 4 times to get it. not workin for me...
<0> what have you tried?
<6> $query = "update testimonials set testimonials=("'.$testimonials.".mysql_real_escape_string($foo).'")';
<6> and other variations. but i know my punctuation is off.. just cannot correct it.
<0> your strings are WAY off
<0> that wont even parse
<0> as php
<6> well i am trying...
<0> look at it logically like the php parser would. you get to the first double quote, you logically expect to read to the next unescaped double quote for the end of the string. and what does php find? you've thrown a single quote at it
<0> php goes "wtf mate?
<7> can anyone tell me what is wrong with this statement?
<7> $new_mail_query = mysql_query ("SELECT read FROM mail WHERE rcvr_member_id='$member_id' AND read=0");
<8> !
<7> is "read" a reserved mysql keyword ?
<8> "There are more things in heaven and earth, Confessor, than are dreamt of in your philosophy."
<8> http://en.wikipedia.org/wiki/Anal_bleaching
<9> howdy
<10> Maybe try AND read='0'");
<10> dunno
<9> how do I are php?
<7> nah... it was cuz 'read' is a mysql option/keyword
<7> so I changed the field name and it worked like a charm
<9> Etobicoke27m: happens you monkey tongue programmer?
<11> no takers, eh?
<12> I'll take'er.
<3> take'er where?
<11> it is peanut butter jelly time
<13> puff puff... puff.. choke.. cough cough!
<14> !include
<14> @include
<15> Construct: include()
<15> The include() statement includes and evaluates the specified file. The documentation below also applies to require(). The two constructs are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. In other words, use require() if you want a missing file to halt processing of the page. include() does not behave this way, the script will continue
<15> regardless. Be sure to have an appropriate include_path setting as well. Be warned that parse error in included file doesn't cause processing halting in PHP versions prior to PHP 4.3.5. Since this version, it does. Files for including are first looked in include_path relative to the current working directory and then in include_path relative to the directory of current script. E.g. if your include_path is ., current
<15> working directory is /www/, you included include/a.php and there is include "b.php" in that file, b.php is first looked in /www/ and then in /www/include/. If filename begins with ./ or ../, it is looked only in include_path relative to the current working directory. When a file is included, the code it contains inherits the variable scope of the line on which the include occurs. Any variables available at that line in
<15> the calling file will be available within the called file, from that point forward. However, all functions and cl***es defined in the included file have the global scope.
<15> http://www.php.net/include
<3> oi
<3> i better cut that ****er down
<3> wth
<8> :-)



<3> @include
<15> Construct: include()
<15> The include() statement includes and evaluates the specified file. The documentation below also applies to require(). The two constructs are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. In other words, use require() i *[cut]*
<15> http://www.php.net/include
<3> that's better
<14> jeje
<8> Jojo?
<12> h0h0?
<14> liberar'e una libreria para leer Feeds
<14> :D
<14> php+ajax
<16> wtf did he say?
<17> @foreach
<18> anyone uses PEAR HTTP_UPLOAD?
<18> I wanna know if you use the moveTo() method to a folder that doesn't exist
<18> will it create it?
<16> have you tried it?
<18> have you
<18> ?
<17> I would guess no, but I've never used whatever that is.
<19> apparently he hasn't.
<17> pear has some cl***es for some odd thing imo.
<17> according to the source code, no, it won't make the directory if it doesn't exist.
<6> ok, when i escape now it throws a **** load of \r\n's into my code.. how do i prevent this ?
<3> um, into the content you are storing?
<17> go back to prison? bad escapee.
<6> lol
<6> $testimonials=mysql_real_escape_string($testimonials);
<6> $query = "update testimonials set testimonials='".mysql_real_escape_string($testimonials)."'";
<3> so, it means that the content you are storing has those in it
<3> so you would want to strip them, if you don't want them
<3> $string = str_replace(array("\n", "\r"), '', $string);
<20> how do I check my linux version from php?
<6> it was fine until i threw in <div cl***="hr"></div> :\
<6> thnks spox
<6> not that i know where to put it :D
<3> put it before the escape_string stuff
<17> hhdeko32 `uname -r`
<20> hmm
<6> hrm. no good.
<20> hmm it gave me 2.4.21-27.ELsmp
<20> what the heck is that?
<21> Not to like, try to get support for a third party application, but does anyone know where I can go for phpmyadmin support? The FAQ at the site is broke.
<3> google for it and use google's cache
<3> other than that, i have no idea
<17> hhdeko32 it means you're on a 2.4.21 kernel
<17> the -27-ELsmp is probably distro-specific
<20> kicken i wanna find out what the name of the os is, like redhat, fedora etc.
<20> hmm
<17> you could do `uname -a`
<20> meaning what in english?
<17> see if it's in there.
<20> oh ok
<17> depends on if the distro labels itself or not.
<20> Linux linhost141.prod.mesa1.secureserver.net 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386 GNU/Linux
<20> huh
<3> yeah, i don't think it would be very easy to try and determine what distro
<3> redhat keeps a file in /etc if i recall correctly
<20> that bs
<3> but even if uname gave you and indication, it couldn't be trusted
<17> I'm running a stock ubuntu kernel and it doesn't mention ubuntu in it.
<3> as you can just compile your own kernel
<17> why do you need to know?
<20> b/c I have this hosting plan which I'm trying to run vlc server on
<20> but vlc has different binaries for different linux distro
<17> try getting the source and compiling it.
<20> oh um too afraid to do that
<20> it's a huge project
<3> lol
<17> then call your host's tech support and ask them.
<20> no other way
<3> ./configure && make && make install
<3> what's the worst that can happen, it won't work


Name:

Comments:

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






Return to #php
or
Go to some related logs:

sekaratz
siurdo
#allnitecafe
MAIN NE PYAR KIA
funny indian shayer
i want to be fucked in my ass
waasna
#kl
#php
#india



Home  |  disclaimer  |  contact  |  submit quotes