@# 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 19 20 21 22 23 24 25 26 27 28



Comments:

<0> $query="CREATE TABLE subscribe (id int(6) NOT NULL auto_increment,email varchar(15) NOT NULL,name varchar(15) NOT NULL,PRIMARY KEY (id),UNIQUE id (id),KEY id_2 (id))";
<1> karim^, #mysql
<0> sorry :)
<2> tek: *sigh* We have been trough this already....
<3> :)
<3> don't _act_ like you don't love me.
<3> you have claws?
<4> nickthorley - Im now digging data about all this anal issue :P : you should have a look here http://forums.digitalpoint.com/forumdisplay.php?f=70
<5> that means explode function can take more chars like separator?
<3> why a howl?
<2> alecs: no... Use preg_split for that
<3> why not a groooowlllllll
<2> woof :P
<6> moo



<2> mazzy!!!!!!!!!!!!!!
<6> http://youtube.com/watch?v=AfGId_VrjIA <--- and now for something completely different...
<6> possibly nsfw
<2> mazza[W]: EEEEEKKKKK!!!!
<2> mazza[W]: What's with the modern stuff and crap bands?
<6> i don't know!
<2> In Slovenia, there are probably a dozen of bands like that :/
<6> http://youtube.com/watch?v=Y0PH1o1NPPk <--- now have a wtf
<3> what the hell is that
<2> Should be stomped to death and slashed.
<2> Meltir: The links posted by mazzanet are safe.
<3> dude, these videos are the most annoying things i've ever seen
<0> lol
<0> so true
<0> and still im looking at it :D
<3> it would take me weeks to find something more annoying
<2> o.O
<7> MY GOD.
<7> Stormchaser: you were wrong. nothing safe about that.
<7> :)
<2> Meltir: Oh, sorry... I forgot to mention the sanity part of his links are questionable :)
<3> I have a weird feeling that first video was extremely ***ual
<3> just, in english
<8> :P
<3> me peto a laura?
<3> kadjflkfj
<3> Do you think Youtube has somebody that makes up all of the video URLs as the submissions come in? like, a really smart midget with a great memory?
<2> why a midget?
<3> he can be fat
<2> em...
<3> or tall?
<3> a tall midget?
<2> that's an oxymoron
<3> true
<3> but still
<3> do you think they have him?
<9> sunshinelady: oh it looks like max of 5 sites allowed then
<10> its raning
<10> raining*
<11> heh, segfault if you p*** throw an exception with a parameter (which is set internally) set to an undefined variable
<11> if that made sense
<4> nickthorley - good thing I have 2 g anal accounts :D
<12> i am getting: Call to undefined function mysql_connect(). how do i fix this. (i have mysqlserver and mysqlclient installed)
<11> delugrand: which package manager are you using?
<12> i am using openbsd
<13> delugrand: you need to enable the mysql extenstion for your php install
<11> are you compiling from source or installing packages, delugrand?
<12> i can do both. but i think i installed php from the ports. it is no problem to reinstall php and reconfigure the install - now i know the problem
<13> delugrand: i dont know openbsd ports but on free you install each mysql extenstion as a seperate port so for mysql support you install the php5-mysql port, for example.
<13> delugrand: that shoule be each php extension not each mysql extension :)
<12> well the thing is on my freebsd machine i did just that and it worked. but i am not at home in openbsd and have been trying to work it out. there appears to be no php5-mysql port anywhere.
<14> what's new lampers?
<11> rarman1: what??
<14> lamp=linux apache mysql php
<11> oh, I get it, LAMPers ...
<14> yah
<11> that was pretty lame
<14> oh well
<14> not trying to be lame or not - just saying hello
<14> aidan: what project are you working on?



<11> rarman1: how do you mean?
<14> aidan: are you not working on a php project?
<14> if so, what kind?
<2> rarman1: *blink*
<15> how to detect freezing in php scripts (cli)
<13> define freezing?
<2> define "freezing"?
<13> :)
<15> :)
<15> ok i explain :
<14> fourat: sounds challenging, kind of like getting the brain to know if it's having a seizure
<16> nice analogy
<15> i have a script that runs in console (cli) it loops infinitly, sleeping some seconds on each loop, in every loop it executes some actions (sendind data to socket)
<15> it happens sometimes that the script freezes
<15> i would like to detect this phenomen to avoid it, at least die() the script so i can restart it
<15> when it freezes, ps -ax says STAT = R and it stay forever R
<13> fourat: do you know where in the script it is freezing?
<17> hi all
<15> it does not freez in the same point everytime
<15> and why max_execution time does not affect it ?
<17> has anyone written a good/come across a good free database resultset paging cl*** or something similar...?
<2> !+pagination
<18> Pagination example: http://www.snipe.net/content/php_stuff/pagination.php
<13> fourat: max_execution is not really need or desirable in cli mode
<17> i have written my own database abstraction cl*** and used the new PDO data abstraction cl***es of php5.1, next step is to create a paging cl***.
<17> thanks
<13> fourat: is it always trying to do a specific operation, e.g. read/write from socket db call etc
<15> i'll see
<13> Tankshell: you dont need to create your own cl***, just use the SPL LimitIterator cl*** :)
<19> hi
<20> How could I count wich name occur most in a sql column named firstName, without knowing any of the names to begin with?
<19> i want to access an object method that is initiated in my page cl***
<19> $pageobject->object->getName() gives me Call to a member function getName() on a non-object
<13> Diphilus_: have a read up on the sql functions/keywords supported by your database, specifically distinct/group by/count
<17> Lomat > thanks will investigate that
<13> snk00sj: that error means that $pageobject->object is not an object
<19> yeah i know
<19> but i did set it in the page initiation
<13> snk00sj: do a var_dump() on $pageobject and see whats really set :)
<19> lemme try that
<19> it said the $pageobject->object is correct
<19> a loaded object
<13> snk00sj: hmm and your doing the var_dump() in the correct scope?
<21> why does sendmail take like 5 mins before the mail arrives?
<2> why are you asking here?
<22> Hi all
<21> well, because I use the mail() function from php
<19> ok well i found it
<19> if i add a setter method in my page cl***
<2> Kenvelo: Wrong answer. Try #sendmail.
<19> it does work
<22> i don't know how to get list of errors that print in page
<23> is there a way to check whether a link to a certain database already exists?
<19> but directly as a page variable, doesn't work with the object methods
<23> got a bit of a problem, my connection cl*** holds the link internally, but now i have 2 cl***es which operate on the connection cl*** and both need access to the same database at the same time
<15> anyone could advise me a good stream_select with non bloquing sockets ?
<15> oops a good example / tuto
<24> guys
<24> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource <---- what is this about ?
<2> !+mysql_error
<18> Handle SQL Errors! For MySQL, always check if mysql_query() returned false; if so, print mysql_error(). I.e. $result = mysql_query($query); if (!$result) { echo $query.'<br>'.mysql_error(); exit(1); }
<24> is that because my sql version is not match the one which is written on the script ?
<25> Is there a setting in php so $varName = 'foo'; would overwrite $_SESSION['varName']?
<16> fourat: i have an experimental cl***, http://pastebin.com/739014
<16> hack what you need out of it
<15> BB thx
<13> sqdfpoiupouilmk: make the connection cl*** a sort of singleton cl***, that way you can access it from anywhere with a static method call. e.g $db = dbCl***::getInstance();
<25> ah register globals does sesssion stuff too
<2> eep!
<23> Lomat: a "singleton" cl***?
<4> Stormchaser - When I asked earlier about a good analytics prog you recommended Astats, its using Apache logs and have no access to them, do you know some pure PHP/MySQL program?
<4> (free one)
<24> hmm


Name:

Comments:

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






Return to #php
or
Go to some related logs:

Channel not fully synchronized yet
#php
#kde
#php
#php
#perl
fat kelly labrock
#web
reconfigure *hig* xserver-xorg
#gentoo



Home  |  disclaimer  |  contact  |  submit quotes