@# 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 that a server-wide setting, or can you do it for specific folders?
<1> I'm hungry... but I'm lazy too :(
<1> Laziness overcomes me, sadly.
<2> order food
<3> Rexxie: .htaccess can do that. Now #apache
<4> ok,thx,lets return to my big problem now, how can i solve the XML xml_parser_create() problems?
<0> how would I do it though Gimp_?
<3> Rexxie: RTFM
<1> hyperhyper: By installing the PHP/Expat bindings.
<5> Rexxie: search good for apache mime types
<5> google*
<6> Why is this channel named ##php and not #php?
<3> !+move
<7> [Channel Move] We moved from #php to ##php in order to comply with http://www.freenode.net/policy.shtml#channelnaming You can see our "about" group here: http://freenode.net/about_groups.shtml
<4> can any one help me to find the RPM for mandrake 10.2 please?|||



<3> #mandrake
<6> I've had a script of mine work on at least 5 servers, and suddenly I move to a server and get this error:
<6> Fatal error: Call to a member function on a non-object in /home/bug/public_html/index.php on line 41
<3> bug2000: your answer is 42.
<6> Stormchaser, still writing.
<6> [The 'problemtic' line is echoing the cl*** while calling a function in it].
<3> what?
<6> The line: <?php echo $meta->metadata($ptitle); ?>
<3> $meta isn't an object. Find out, why.
<6> I have no idea, I work on meta with lines before it.
<3> bug2000: My answer is unchanged.
<6> This server hates me.
<3> no... It's called 'bad code'.
<6> Stormchaser, its the first server that tells me about it.
<3> bug2000: That changes nothing.
<6> err, now it gives me errors about my doctype line O_O.
<8> bug2000 do you need to do global $meta; before it?
<6> I made meta like this: $meta = &new Meta;
<4> too bad...................._|~|O Still cannot find expat for mandrake...........><
<3> bug2000: var_dump($meta); will show you 'false'.
<3> hyperhyper: Do you know how to use google?
<6> NULL
<3> even better
<9> Hi there, playing around with mod_rewrite here, ie, making members.php?userID=1212 look like domain.com/members/1212/. So far tha part all works, but internally I still use userID to look up the member, how do I tell PHP to grab it from the url? As I won't be able to do $_GET['userID'] right?
<3> ryushe: print_r($_SERVER)
<1> hyperhyper: Hell, Windows would be better than that god forsaken Mandrake.
<4> i ve already use google to search,but...............><
<4> i used window server before but i want to learn linux and php
<3> hyperhyper: IIRC, I sent you to #mandrake. Ask there
<4> ok
<4> fine,thx
<3> rhx
<9> Stormchaser > I'm looking for the value of QUERY_STRING right? as that's empty right now :/
<3> ryushe: print_r() the $_GET as well... I forgot where that thing should be...
<9> Stormchaser > $_SERVER contains the var QUERY_STRING, but it's empty. $_GET contains nothing right now
<9> would that imply my rewriterule is screwed?
<3> ryushe: Probably :)
<9> bah ;)
<9> can I post my rule here? maybe you can spot an error there?
<3> ryushe: I really don't know anything about mod_rewrite, sorry...
<9> heh, ok
<8> ryushe i may be able to help, not used them much though :P
<8> what do you have as your rule?
<9> this is it: RewriteRule ^members/([0-9]+)/$ members.php?userID=$1 [L]
<3> not here, bina. Take it to PM.
<8> Stormchaer: ok
<9> scuse me then
<10> i have php5 installed with apach2, phpinfo() tells me i got mysql installed but i cant connect to any mysql server (Can't connect to MySQL server on '127.0.0.1') and so... even when i can connect to them using "mysql -h <ip>" i have tried 3 servers (this is at work) that anyone uses and 1 on mine (127.0.0.1).. what can it be? thanks
<11> I have a problem: file a includes file b, which has a global variable defined, file a also includes file c which includes file d which uses a global from file b
<11> except it does not seem to work
<11> the variable does not appear to be defined
<3> idan: Are you connecting va socket or via TCP?
<3> *via
<10> think socket
<10> dunno
<3> um...
<11> can someone help me
<12> the default handling of inclusion within includes is that they are ignored for the including parent?
<11> I am not sure how php does it
<13> Can anybody tell if there is a function that removes spaces from the values of an array?
<14> Kernel_burner, trim() ?



<13> o.O thats it! thanks alot!
<11> so basically includes within includes are totally fscked
<15> not if you watch out
<11> still does not behave as I expected it to
<12> Is there an and/or operation for php
<11> & and | will do it
<12> operator*
<12> so &| ?
<11> yep
<15> EvilGuru: you might want to utilize (a) the include_path directive or (b) something like dirname(__FILE__)."/my_include_file.php" to let it behave expectedly.
<3> Tarantulafudge: That's bitwise and / or operator... you probably want && / ||
<12> Stormchaser: huh?
<3> Tarantulafudge: php.net/operators
<11> Bazzi: ok thanks
<12> Stormchaser: I don't see anything specific on and/or
<3> *blink
<11> Tarantulafudge: what do you want, exactly as there are two possibilities
<11> to do something llike (if (condition one AND condition two))
<12> EvilGuru: I want it to be true whether statements are true or one
<3> EvilGuru: && / || has higher predecence than 'and' / 'or'
<3> http://us2.php.net/manual/en/language.operators.logical.php
<11> Stormchaser: I use bitwise operators now and then for certain tasks
<3> EvilGuru: Um... && isn't a bitwise operator
<16> hello guys
<12> Oh so the OR statement will still be true if statements are true
<17> hi, if i make a connection to a database twice, and want to close them, will closing it once, close all connections ?
<12> as long as I dont use xorg
<12> xor*
<17> eww sorry dont matter
<17> wrong room
<16> anyone would like to help me with a php prob?
<3> Cambridge13: Nope...
<3> !+g1
<7> Guideline #1) Don't ask to ask, Don't state: "I have a question", Don't ask: "Is anyone around?" or "Can anyone help?". Just Ask The Question
<16> How do you p*** a query wich contains the xelexted items of a list box?
<3> xelexted? What?
<16> selected sorry
<3> Wait... Um... What do you mean by 'query'? SQL query?
<16> i want to p*** a sql delete query which takes 3 items from a list box and delete the entries from the database
<16> the list box is populated with the contents of a table
<18> Name each checkbox as check[id]
<19> I keep getting resource id instead of the value from my DB is there something wrong with this? http://rafb.net/paste/results/GgENOI87.html
<3> Cambridge13: If you have a subselect-capable SQL server you could do it with "where blahblah in(". implode(',', $yourvar).");
<18> Cambridge13: Then use implode("' OR id='", $_POST['check']);
<3> Verminox: That's a*very bad* idea.
<18> How so?
<3> you don't give $_POST directly to the query.
<16> my query now is: "Delete from FreeHours where FreeHoursID=" . $_POST['the name of the list box'];
<20> filter your data first plz
<18> Stormchaser: Ahh my bad... I was ***uming it to be filtered
<16> but it doesnt work. It sais Undefined index 'the name of the list box'
<8> age6racer: you need to do $something = mysql_fetch_***oc($url)
<3> *blink*
<8> age6racer: ...i believe :) then $something will be an array of the feilds the query returned
<19> Bina: thanks i'll give it a shot
<8> age6racer: so $something['link'] will contain the link
<3> *bang*
<8> age6racer: you should put addslashes on that $_GET['id'] too unless you're using magic_quotes. I usually put it in just to be safe though
<19> thanks
<3> Ew. Magic_quotes. Ew.
<8> :)
<16> the problem is that i dont know how to write in php that it must identify the contents of the list box (which are values of a table) and delete them from the table
<15> addslashes isn't any better though ;)
<21> in want to set a variable permanently and change it with if i direction how can i relize that
<3> inlude file
<3> *include
<22> is php 4 known to be slow under solaris 9 ?
<3> define 'slow'
<22> 100x sloweer tahn syme sript with suse linux
<3> *shrug*
<22> I guess thats a to big difference right ?
<22> I read this http://bugs.php.net/bug.php?id=27126
<3> MartinMai: Um... No... I don't know Solaris, so I can't say...
<19> Bina: I'm a little stuck on what you just said.. Can I pm you quickly?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#perl
beagleindex suse
#lisp
ubuntu wav codec
suse10.1+pacman
error while loading shared libraries: libpcre.so
mouse4 firefox linux
(555 syntax error (#5.5.4))
rpm cfdisk x86_64
#perl



Home  |  disclaimer  |  contact  |  submit quotes