@# 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 29 30 31 32 33



Comments:

<0> insane:
<0> http://www.snort.org/archive-5-2111.html
<1> lol
<0> hope that helps
<1> good effort insane
<2> lietu lol very funny
<0> hm?
<0> well I dunno anything about fedora core and don't care to know either really, I dunno what could solve your problem, am just googling for "answers"
<2> i get that error when i try to start apache
<3> Should php die off after a bit?
<2> probably should try redhat then
<3> I have fout apache processes that just keep on using all my cpu
<2> thanks anyway
<0> scarfboy: um, as in max run time? iirc the default is 30 or 60 secs
<3> 'four'. I straced two, they seem to be waiting for futexes
<3> well, that obviously doesn't work:)



<3> Each has three hours of cpu time
<0> lol
<3> and I restarted last night
<4> insane, can you look at the processes and see if there's another apache already running or anything related? httpd...
<3> how do you mean?
<5> it's this &$rows by value in function parameters?
<0> Mitja: insane left already
<4> darn
<0> ... people shouldn't expect their system to work the way it's supposed to when they use crappy "distributions" like rhel or fc
<0> I used to use redhat in the days of 5.0-6.2 and then I moved on
<4> lietu, which distro is your choice?
<3> every distro has quirks
<3> or idiosyncrasies, as people like to affectionately call them
<0> depends, Trustix Secure Linux for server usage, I can recommend Ubuntu as a basic desktop for other users, but I'm not really into it, I like Gentoo in my own desktop and well, slackware and debian are good too
<6> lietu: we use RHEL at work, it works just fine. Though I sometimes think I'm on a debian based distro and get lost :)
<3> Ubuntu promply screwed up my network config, for example
<0> ... ofcoz Devil-Linux and m0n0wall(freebsd based actually) for firewalling & routing solutions
<3> otherwise 'tis pretty neat
<4> scarfboy, mine too, I just edit the network files manually, and don't fool around with gui
<0> ... imho, there's no one great distro that suits for everything
<3> But I would ***ume ubunto likes to rewrite them based on its own state
<3> at least, that's what I'm always afraid of
<3> it just felt fragile from the start because of that
<7> lietu: sure there is, the one YOU use, its like my OS/distro/lang/religion/penis is better than yours and if you dont use it, you are a worthless cretin
<0> well, I've not done anything with ubuntu 'xept installed it on my laptop to see how easy it is to install and use and how good the finnish translations are, just so I can recommend it to some friends who are complete n00bs with computers
<8> hey
<0> NoBeard: well, I'm using multiple different distros atm ;)
<8> !paste
<0> actually, my desktop is even running winxp
<3> I'm an equal opportunity complainer about all distros. OSes, even.
<7> lietu: then if somebody is not using one of them they are worthless cretins
<0> NoBeard: ofcoz
<6> lietu: it's "of course", please :)
<0> hehe, ok ;)
<3> ...
<0> one of the rare words I write in the "short way"
<3> spelling correction in IRC? What's this world coming to?
<7> lietu: err, grammer/spelling nazi's know this rule
<3> nazis, not nazi's
<8> $res = mQuery("SELECT AVG(Vote) FROM rateprof_rate WHERE (TeacherID='" . $tmp->TeacherID . "')");
<8> $data=mNextObject($res);
<0> lol
<3> ew!
<3> *ahem*
<8> mNextObject just does mysql_fetch_object.. but how do Iaccess the average in $data?
<3> (I dislike any non-escaped SQL.)
<8> I dont even know what non-escape sql is
<9> stephen@emotionmultimedia.com on the korean and chinesse database
<3> Escaping the data you put in there. Genreally if you don't it can be injected, though you seem to be using your own data here, so it shoudl be okay
<0> damn these 4ch mp3s sound nice
<3> It's a quirk.
<3> ...of mine to mind so much, I mean.
<8> lol ok
<0> I really had to go put my ear in each speaker to really believe that certain sounds come just from the rear right channel etc
<8> but! its not working so can you help me out
<10> endra: Looks like you are using some sot of cl*** ?
<8> I just need to grab the average of the Vote field where the TeacherID is $tmp->TeacherId.. not even sure if I'm doing it right
<8> wobbles: you mean mNextObject?
<3> possibly.



<10> endra: Yep
<3> I'm not sure whether _object's case sensitive, for example
<3> Never used it myself
<10> and mQuery
<8> yea, that just does mysql_fetch_object
<8> and mQuery just queries and returns a result set
<8> it works fine im using it in every other part of my site
<8> its just Ive never really had mysql find an average before
<3> it should just be a one-column, one-row result, right?
<3> uunless, wait
<10> endra: So presumably there is someting in the cl*** that returns the values from a result set?
<3> don't you need to aggregate?
<3> Gah, I've been out of SQL too long
<8> wobbles, it returns the result set into $res then I get the data with mNextObject($res) and it puts it cl*** style into $data
<11> hi
<8> so if it was a nromal row I could just do $data->Vote
<8> but im not even sure its even grabbing the average.. if my MySQL syntax is normal or not
<3> then try it in the mysql shell
<10> I'd guess that there might need to be an alias used for AVG(Vote); so you would query SELECT AVG(Vote) AS wibble FROM rateprof_rate WHERE...
<3> oh, good point
<11> i have problem..
<11> if ($resim[resim][type] != "image/pjpeg") {
<11> echo ("$this->font Hata: Resim Geerli Deil. Kabul Edilen Tr: JPEG ve JPG");
<11> }
<11> this code is runnig my local but dont runnig server..
<10> Then you should be able to do $data->wibble
<12> olesine, rafb.net/paste
<8> hmm
<8> ok wobbles ill give that a try, one sec
<11> eml pls wait.
<12> olesine, isnt it jpeg (not pjpeg)?
<13> Plz help. My php installation will not require() any files outside the /var/www directory. Is this some security setting in php5 ?
<11> eml
<11> http://www.ayva.net/dnm.php
<11> function : haber_ekle
<12> olesine, no, cant help
<12> just pointed that out
<11> this source code.
<11> i am not uploading image my server..
<10> T-Start: What sort of error are you getting?
<8> 7.0000
<13> Permission denied
<8> amazing
<8> it worked
<8> thanks wobbles
<10> endra: :-)
<11> image directory chmod 777
<13> wobbles, phpinfo() isn't showing anything about /var/www specific
<8> (that wasnt a double paste, was a double copy :P)
<11> pls help :)
<3> Anyone know about PHP internals? Specifically PHP5 bugs?
<13> wobbles, users & permissions have been changed for testing but nothing
<10> endra: There is probably some way to say $data->AVG(vote) but alias is safer
<3> I think my loose apache threads are PHP5 being buggy
<0> T-Start: permission denied usually means you aint got permission to read the file
<0> as in chmod 0755 /path/to/file.inc
<0> try that first
<13> i know,.. but it does
<14> scarfboy: http://bugs.php.net/bugstats.php?phpver=5
<10> T-Start: permission denied suggests that the user apache/php runs as does not have access.
<0> um
<0> not 755 but 644
<3> So what category does 'takes all my cpu' fall under?
<11> ..
<0> scarfboy: I'd really want to be sure that the problem isn't with your script before filing a bug like that
<14> scarfboy, sounds like loops forever problem
<13> wobbles, /var/www has the exact same permissions as /var/cl***es.. created by the same user, same chmod. Files within /var/cl***es and /var/www have been created the same. Yet a php file from /var/www/ cannot read from /var/cl***es/
<0> Ox41464b: but isn't the max run time supposed to be like 30secs
<3> if it were a script thing it would be killed after a minute
<3> not still be running after ten hours
<0> T-Start: are you trying to require("/var/cl***es/bla.php")?
<3> unless that too is violable
<13> yes


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#lisp
#openzaurus
#osdev
restore mdf + sql server
Negrodomus- Wayne Brady
dpkg fixmbr
octave engineering mode
hpt374 install ubuntu
#perl
#ubuntu



Home  |  disclaimer  |  contact  |  submit quotes