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



Comments:

<0> :)
<1> i like changing the functionality of all the tags in css
<0> im not going to see this channel turn into EFnet #php :P
<2> http://www.intpos.com/personal/badgoogle.png <-Anyone else getting a 404 on the google default start page for firefox every once in awhile?
<0> forbidden!
<1> only problems with google i get are really laggy connections on occasion
<2> I wish I could reproduce it, then I'd sniff to see if spyware is ****ing with the request
<1> i bet it's just some ****ed up server in their cluster
<3> you shouldn't install spyware poutine u
<4> I ne'er had that problem poutine
<1> i occasionally get an error in google
<4> but someone else was bitching about it
<2> that was me
<4> no
<4> someone ELSE



<2> that was me!
<5> chuck, it's okay
<5> it doesn't take people very long to come to the realization that i ****
<4> 17 days until my Birthday
<4> START SHOPPING NOW
<5> how old are you gonna be, tb
<4> 29
<5> holy crap
<4> older than poutine will live to be if he keeps on the way he is
<5> lol
<5> as soon as i figure out this whole regular expression thing
<5> i'm not gonna **** so bad
<6> is news a meyword in mysql?
<6> keyword*
<7> backtick if necessary
<8> Technobabble: get a regular expression tester it will help you as you learn
<8> and help you test your expressions as well
<6> nm
<6> forgot an 'e' on create
<6> bleh
<5> why can't i find a garlic free alfredo sauce
<5> is it called something different without garlic or something?
<6> WTF!, any ideas on why i get this: ERROR 1364 (HY000): Field 'p***' doesn't have a default value
<5> 'cause p*** doesn't have a default value
<6> INSERT INTO admin(p***) VALUES('somelamep***here');
<6> that's where it's funkin up.
<1> anyone know how the symbol for the nasdaq index ended up being IXIC?
<6> and this one ****s up too with the same error: INSERT INTO admin(this_login,this_time,this_ip,this_host) VALUES('first login','00:00','0.0.0.0','*.*@*');
<5> lol
<5> what type of field is p***
<9> what's the error?
<1> try adding spaces?
<5> it's not liking what ever you're sticking in there
<6> same error, no default value
<5> it thinks what ever your'e sticking in there is a null value
<5> you probably have it set to NOT NULL
<5> but with no default value
<6> yea
<5> which, is right
<5> but for some reason it's not liking what you're trying to put in, 'cause it's dropping it or something
<6> because when i try to set the p***word after creating the tables, it still has null in there
<6> (with no not null)
<6> but i should have it. and i do.
<6> http://pastebin.com/589331
<6> it should work fine (i think)
<6> before i had to remove the 'not null' from every row in admin to get it to work, but i shouldnt have to do that.
<5> i agree
<6> any ideas?
<5> \d matchs numbers, but if i put numbers THEN letters, it still matches
<5> how do i do nothing but numbers
<9> /^\d+$/
<10> spox++
<10> it's all about the anchors. an un-anchored regex will succeed if any part of the string matches
<11> anchors aweigh!
<6> pizza, any ideas on this db ****?
<8> \d+?
<6> yea
<9> that ain't no python bull****



<6> anything following a number until a break (space)
<6> but it must match something
<9> okay, ansimation
<9> you create your tables
<9> then you run those two inserts
<9> and you have a problem on the second insert?
<6> yea
<6> the last 2
<9> well, it dies on the second one
<6> duh
<6> maybe i should just make them both part of the same one eh
<9> it's because you create your table with p*** not being null, then you perform an insert which sets p*** to null
<9> thus you get an error
<6> yea, i just realized that
<6> tyty
<9> sure :)
<10> ansimation: the admin(p***) insert fails?
<6> totally overlooked that both were trying to insert to admin
<6> ;/
<6> pizza, i got it.
<6> :)
<10> anytime.
<12> Hi guys, I was in here the otherday and I was told to look into persistant connections. Before I change the connection type on the live site is there anything I need to watch out for?
<3> persistent connections are really only useful for a server where you only have one (or very few) connection string
<5> you should be sure to close the connection after you're done
<3> it keeps one connection open per thread
<6> !php $a=time(); echo strlen($a);
<13> /usr/local/bin/php-irc: not found
<3> and the connection is identified by the host/user/p***
<6> pfft
<6> !chanset +php
<14> Mode change for #php (+php)
<6> !php $a=time(); echo strlen($a);
<14> 10
<13> /usr/local/bin/php-irc: not found
<6> !chanset -php
<14> Mode change for #php (-php)
<3> so if you have say, 30 threads running normally that connect with one user/p***, you'll get 30 connections open
<3> without pconnect, you'll get 30 connections that open and close
<15> well at the moment theres about 60 connections all same db/user/p*** from the apache server, would a persisant connection reduce this to one?
<3> but if you have 30 threads running, and you're serving 100 different websites that all use pconnect with different user/p***es, then you'll get 30x100 = 3000 connections open
<3> no, it's not a pooled connection, it's specifically one connection per apache thread
<6> if i have a row that is int(11) and the length of the info im inserting is 10 should it return an error? or do i need to make it int(10)?
<6> for time()
<3> in other words, connections aren't shared between threads
<15> the site just uses one db/user/p*** and opens and closes a connection once per page view, however i didn't code the entire site and it keep leaving connections open. so untill I figuer out why someone suggested I use pconnect to reduce the number of connections
<15> groogs: so I would still get one connection per 'hit'
<3> .. not really
<3> because apache keeps threads open
<15> ah
<3> how many threads depends on the min/maxthreads settings (or maxchild, i can't remember) and now many people are concurrently hitting the site
<15> so really theres no advantage to pconnect in my situation
<3> well yeah, it's better performance than opening and closing
<3> what's being left open?
<3> maybe you already have a pconnect
<3> if you call pconnect and also connect with the same settnigs, it think it opens two connections ..
<3> do you have a bunch of connections that are open and sleeping for a long time, or are they all active?
<15> sleeping
<15> I'll give you a link to the curernt connections page 1 sec
<3> it also doesn't solve the real problem, but you can set a connection timeout in mysql
<11> i need to figure out how to properly benchmark a web app
<15> http://www.liquidcars.co.uk/admin_stat.php
<3> actually i think we do that on our shared hosting server, because we have people using vbulletin and other crap that uses pconnect or for whatever reason doesn't close the connection
<15> there's no pconnects ATM but I think some of the normal connects are being left open
<15> I've found most of them but it still seems to leave a few connections open especially if it's busy
<3> do you have a test server? can you reproduce it there?
<16> hey guys got a quick question recieving a resoure id and storing it as a seession variable but on the following page the session variable is empty
<6> if i have a row that is int(11) and i try to insert something that's len is 10 should it return of of bounds?
<6> out of bounds*
<6> did you start the session on the second page?
<6> Out of range value adjusted for column 'img_date' at row 1
<6> pfft
<17> .
<18> bbl: Zz.


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#kl
chat inglais
dalnet downtown ranjan
#allnitecafe
#vb
hypnotic text
raba raba KL
#allnitecafe
#allnitecafe
#linux



Home  |  disclaimer  |  contact  |  submit quotes