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



Comments:

<0> Is threading not available in php?
<1> No
<1> PHP has no use for threading.
<0> How does php recommend implementation of a push/pop feature
<2> ...
<1> mazzanet: I hope you keep logs. We should upload logs somewhere.
<0> for example a live chat / help desk feature in a webapp built on php/mysql
<2> kuja: i have logs of every single thing said in here since 2003
<1> Haris: The "web" has no use for threads.
<1> mazzanet: Aww ****, well delete everything *I* said :P
<2> streams maybe
<0> kuja: hmm .. how about ... when querying mysql
<2> but not threads
<1> What about querying MySQL?
<0> streams...
<1> You shouldn't be using HTTP as a chat protocol. It is insane.



<0> well
<0> providing live helpdesk support to laymen requires a 'user friendly' interface
<1> Learn Flash, learn Java.
<0> relpace php with java?
<1> Sure, for that specific task.
<1> Just embed the applet.
<0> Just needed confirmation.
<1> Does semantics mean anything?
<1> Does it mean anything to you, I mean.
<0> symantecs are not the issue.
<0> The issue was constant querying causes higher cpu usage
<0> by the webapp
<1> So stop constantly querying.
<3> hm.
<3> according to phpinfo() zlib.output_compression is off. but, according to ethereal, page _is_ compressed.
<3> i'm pretty sure i don't enable compression anywhere in the sources.
<4> traszu, maybe apache is compressing it
<0> webapp = mysql
<3> elsyf: hm. is there any way to find out without access to httpd.conf?
<0> causes+
<4> think you already found out ;)
<4> check if mod_gzip is loaded
<3> elsyf: i don't have access to the server. but i just checked a plain html, and it's compressed, too.
<3> elsyf: so i guess you are right.
<4> you could check the apache header
<3> elsyf: 'Server: Apache'.
<3> elsyf: there is 'Content-Encoding: gzip', however.
<3> elsyf: but mod_gzip is disabled by default for certain user agents, isn't it?
<5> Is there any channel for batch files programming?
<6> heeloo
<7> rightnow: MSDOS batch files ?
<6> need some help
<5> p0windah, yeah
<6> somebody tell me what does it mean :Call to a member function on a non-object in /home/c00l2sv/public_html/blocks/NewsCalendar.php on line 14
<6>
<7> rightnow: I ***ume theres probably a lot of good information in wikipedia
<5> oki ill look :) thanks
<7> rightnow: and failing there, a quick search of google should turn up some old archives
<5> yeah, ive tried, but didnt find what i was looking for
<8> started a new chan #linuxsociety if you want ops jump in
<5> and how do i search for the exactly term "%clientname%" on google.. google takes away the damn %
<6> guyz somebody help me
<9> c00l2sv: you're doing x.y(), but x is null or undefined
<6> i've uploaded the script by ftp
<6> can it ocurr after an incomplette ftp transfer?
<10> whats the regex for "is", on its own
<10> not in a word
<10> lol.. was signed in on two computers
<11> hi all
<11> lookin to grab text directly from a URL... i know how to use $_GET but wondering if there is a way that one can pull info from a URL without having the documentname.php?=info type setup?
<11> eg. http://somesite.com/infotograb
<9> REQUEST_URI, PATH_INFO, etc.
<11> cool, will check that thanks buddy
<9> all in $_SERVER
<11> thanks deltab
<11> hmm how would i actually get it to call the script in the first place if im calling it directly from the root of the server? (http://site.com/thiswillsendmetoapage)
<11> need to set it in apache config?
<11> (i dont know whether i'm asking the question properly)
<9> you would, yes
<11> no worries, thats what i thought, but hoped i might be able to avoid that as my host wont allow me to edit :( can it be handled with .htaccess? (i know thats irrelavent to this chan...)



<9> normally apache maps paths to filenames, so unless you have a file or directory called thiswillsendmetoapage, it won't find anything
<11> Ahhh
<11> thanks for the info :)
<11> or... if i were to set apache to ignore everything else coming through and to always pull a default index.php no matter what the URL? (is that possible)
<9> there are several ways you could do it
<9> I think you could use SetHandler: http://httpd.apache.org/docs/2.2/mod/core.html#sethandler
<9> with Action: http://httpd.apache.org/docs/2.2/mod/mod_actions.html
<9> so you'd set a script as a handler, and set it as the handler for /
<11> damn, pasted to my friend 20 lines and got dropped :(
<9> since when?
<11> just then
<11> :/
<11> [9:19pm] Closing Link: 100.132-142-203.dart.iprimus.net.au (Excess Flood)
<9> so you'd set a script as a handler, and set it as the handler for /
<11> Yeah i think thats what i'd have to do
<11> jus having a read now
<11> thanks deltab :) take care mate, im off to bed, book marked that info and will work on it more tomorrow. cheers
<12> Hey everyone... quick question. I want to open a file on my computer using fopen to allow a user to download it... how could I go about setting that up or what could I search for to find an article on it?
<12> nevermind... i found a function in the docs page on fp***thru :) thanks anyway
<13> hi
<13> I want to add the actual day of the month, should I use date() or getdate() and a variable ?
<14> People, why do I get the Warning: socket_create() [function.socket-create]: Unable to create socket [0]: An address incompatible with the requested protocol was used.
<14> the line of code is $sr = socket_create ( AF_UNIX, SOCK_STREAM, 0 );
<9> noppo: what address are you trying to use?
<9> hmm, no, that doesn't make sense
<14> deltab: i want to socket_create(AF_UNIX, SOCK_STREAM, 0), that's it.
<9> unless socket_create doesn't support AF_UNIX
<13> can I have optional parameters in php function '
<13> ?
<14> you mean that it is possible that my version of PHP doesn't support socket_create (AF_UNIX, $type, $protocol)?
<14> i am using PHP 5.1.2 on Windows (IIS 5.1)
<14> suppaman: yes, you can
<14> suppaman: http://php.net/manual/functions.arguments.php
<14> people, what is the difference between $_SERVER['LOCAL_ADDR'] and $_SERVER['SERVER_NAME'] ?
<13> noppo: thx
<14> suppaman: np
<15> i have a problem
<14> alecs: show me the one who hasn't
<15> $sql=mysql_query('SELECT * FROM `md5`');
<15> $result = mysql_query($sql) or die(mysql_error());
<13> I need to put a date into a db row, I've got three text input fields, actually I make a check with is_numeric, a check for range and build the string data on my own, is there a easiest way ? should I use date() to format the string ?
<16> noppo: NAME is the hostname I ***ume, ADDR is the IP?
<14> alecs: suppaman: try #mysql
<14> jisatsu: i see, thx
<13> noppo: no, I mean is there an easy way to manage date string in php?
<17> noppo: i'm alecs
<14> gangster`s: m?
<17> i was just told you abot the fact i have copy/pasted the my sql sintax
<17> from phpmyadmin
<17> this is the sintax
<17> wich is causes problems
<17> $link = mysql_connect("localhost","root","");
<17> mysql_select_db("md5",$link);
<17> $sql=mysql_query('SELECT * FROM `md5`');
<17> $result = mysql_query($sql) or die(mysql_error());
<17> while ($row = mysql_fetch_object($result)&&$n<21)
<7> lovely..
<17> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax
<14> gangster`s: i'd try $link = mysql_connect ( $server", $username", $p***word"); $result = mysql_query($sql, $link);
<18> you have a stray ' in your sql at the end
<14> you haven't specified the $mysql_link in mysql_query ( $query, $mysql_link );
<18> oh no ignore me lol
<14> gangster`s: read the message above
<14> gangster`s: change $result = mysql_query($sql) or die(mysql_error()); to $result = mysql_query($sql, $link) or die(mysql_error());
<14> change <...> or die :)))))))))))))
<18> noppo: $link is an optional. it uses the last link opened by mysql_connect
<19> hi guys
<19> the problem here is that
<14> Dangermouse: i see.
<19> mysql_query is used twice
<19> change the $sql
<19> to
<18> the actual SQL :)
<14> mysql_query (mysql_query(blablabla))


Name:

Comments:

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






Return to #php
or
Go to some related logs:

phpgrep
libexif.zip
suse10.0 repair install
#fluxbox
#math
#linux
gentoo rangemax wireless card
#python
#math
downgrade Ubuntu



Home  |  disclaimer  |  contact  |  submit quotes