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



Comments:

<0> Stormchaser: maybe you can help me ? It seems like i need to ad somethink like leeding and trailing by any character
<1> Yeah.
<2> basically I just need to find out if any of the checkboxes from the form were checked, and if they were, which ones were checked
<3> are they still adding Date as a core cl***?
<4> KimmoA: its all on preference
<1> But my current error is even sillier.
<5> Heh, >>okay<< ... >>>>>>whatever<<<<<
<6> KimmoA: Why is it silly?
<7> Lone_Wanderer boolean baby, boolean TRUE FALSE
<2> ?
<5> Stormchaser: He's talking out of his *** cause he doesn't even know what it is, just ignore him.
<1> Stormchaser: Adds bloat/abstractness.
<2> <input type="checkbox" name="something" value="TRUE"> ?
<8> Hell, there's even an "abstract" keyword!
<5> Stormchaser: Pollita on the other hand, I don't think she uses OOP either, but she's smart enough not to :P
<9> Help, SELECT rc_title FROM wiki_recentchanges WHERE rc_namespace = 0 ORDER BY rc_timestamp DESC <- how can i get the same results as from this query only without duplicate results? i tried GROUP BY and DISTINCT but then the order is wrong because it first distincts and then orders



<2> Also, I don't know how many checkboxes there will be or what their names will be!
<2> also also I need to have this written in less than 30 minutes!
<8> Lone_Wanderer, this is a cl***ic problem. If a checkbox isn't checked, nothing will be posted.
<2> yep
<4> Lone_Wanderer: if you name the checkbox yourname[] it will put it into an array
<2> ahhhh
<2> will do that
<1> Simple problem: I do php -i at command-line in Unix. It mentions the config files it parses. I check them all. The only non-extensions list one (real) says "display_errors = off". Why is it that when I run PHP scripts on the command-line, it STILL outputs notices?!
<10> itrebal: Are you able to tell me how I would reference /channel/item/media:thumbnail from a simplexml object?
<8> itrebal: even if it's not checked?
<4> Lone_Wanderer: you can do yourname[one] yourname[two] etc
<2> can I do yourname[1] yourname[2] etc?
<2> yay!
<4> Julianno
<11> I'm using the mssql_query() function, but i'm getting an error, is there a way to get the actually sql error?
<3> a hacky way around the checkbox issue is to do <input type="hidden" name="whatever" value="0"><input type="checkbox" name="whatever" value="1">
<4> Julian|Work: no
<8> itrebal-o
<2> I love you now.
<8> itrebal, well I think that's his problem.
<5> KimmoA: Wrong config, maybe.
<4> Julian|Work: he can figure it out from there :)
<8> lol
<1> kuja: I just told you I checked what it uses! :|
<5> Right, but still.
<3> that is a php-specific workaround however
<4> Jabberwock: no.. i only did *very* little in simpleXML
<12> can someone help me please --> Warning: mysql_pconnect(): Can't connect to local MySQL server through socket 'http://127.0.0.1/db/dump.sql' (2) in directory/file.php on line 17
<1> This is driving me insane.
<5> kuja@shugotenshi:~$ php -i | grep php.ini
<5> Configuration File (php.ini) Path => /etc/php5/cli/php.ini
<10> ok
<5> Mine works like a beaute :)
<3> extreminador: a sql file is not a database connection
<5> KimmoA: How many ini's do you actually have?
<12> the line 17 off the file is saying this --> mysql_select_db("pmodule_shares");
<1> kuja: One... the other two are extension lists.
<13> KimmoA: On my SuSE system at home, there's a different php.ini for CLI and web.
<8> KimmoA, to remove any confusion, temporarily move all the INI files and create one with just "display_errors = off" (plus whatever else is necessary)
<8> Debug it.
<3> extrem: what's the connection line?
<12> Xyphoid yes i know, but i dont why is giving this error
<12> mysql_select_db("pmodule_shares");
<3> extrem: there must be a mysql_pconnect line there
<1> Doesn't "php -i" tell you what CLI PHP uses, while phpinfo(); in Web mode tells you what PHP in Web mode uses?
<12> the line before this one is like this
<12> mysql_pconnect("localhost","root","");
<7> Lone_Wanderer : read user notes --> http://us2.php.net/variables.external
<1> If not, how do I check what CLI actually uses?
<8> KimmoA, call phpinfo() from the CLI? :P
<7> Julian|Work you bastard!
<8> Well it's not a bad idea.
<1> I think I did that at first, and then you told me about php -i.
<7> Julian|Work not a good one either... all that html
<1> Like weeks ago.
<1> Then I gave this **** up.
<8> Jymmm, that's why the Gods gave us >
<8> php -f info.php > woot.htm
<5> ...
<5> php -r 'phpinfo();'
<5> However, php -i == php -r 'phpinfo();'



<6> Julian|Work: *blink*
<1> SO... why does it lie?
<14> DUMB*** -----> Julian|Work <----- DUMB***
<8> What, did I say something terrible?
<1> It lies.
<1> That's the only logical explanation.
<5> Julianyus: Waste of filespace.
<3> exterm: that's a pretty screwy error, hmm
<6> Julian|Work: CLI shouldn't gave you HTML...
<8> kuja, I'm not interested in wastes of filespace.
<5> CLI *won't* give you HTML.
<10> KimmoA: What if the web module is a different version than the CLI binary?
<4> do we have a troll on our hands?
<5> CGI/mod_php will give you HTML.
<4> Julian what... 300kbs?
<1> Jabberwock: I don't know what you mean by that...
<4> kb*
<12> Xyphoid do you think can you help to found whery is the error ... ?
<9> Help, SELECT rc_title FROM wiki_recentchanges WHERE rc_namespace = 0 ORDER BY rc_timestamp DESC <- how can i get the same results as from this query only without duplicate results? i tried GROUP BY and DISTINCT but then the order is wrong because it first distincts and then orders
<10> KimmoA: Apache does not use /usr/local/bin/php
<10> It uses an apache module
<10> Or PHP may be compiled into apache itself
<5> Or a CGI binary.
<10> but it does not use the command line tool
<1> I use a module, yes...
<1> What has that got to do with my problem?
<15> Ender: this is a php channel, try mysql
<10> KimmoA: I don't know. Caught the tail end of the conversation
<16> good day
<4> yay for Stormchaser!
<5> Stormy
<5> :P
<9> sslashes 1. not many talking people there 2. 99.9% of the ppl that know php know also mysql 3. maybe there's a php solution for this problem :)
<8> You guys are crazy, lol.
<8> You read the HTML file, you delete it. Not every operation needs to be uber-efficient.
<4> Ender: doesn't matter, you cant ask it here
<5> Like I said, php-cli doesn't give you HTML.
<8> I'm making suggestions, not purporting to be the master of PHP CLI.
<5> How many times we got to say that?
<8> kuja: so I stand corrected
<1> We know that CLI PHP doesn't output HTML!
<5> Julian|Work: All I'm saying is, it's redundant
<5> Case closed
<1> But it does lie.
<5> No big deal, okay?
<4> damnit..
<3> exterm: do you have any mysql connection code working on this server?
<17> is there any free php accelerator for php5?
<12> all the scripts that i have tested they give errors
<12> errors
<10> Wow that's annoying. I had to fish through the RSS feed pulling out only links
<6> Akuma_: eaccelerrator
<10> And then do a separate foreach on the thumbnail tag
<1> Even a ini_set call for display_errors is ignored! Am I in hell?
<3> extrem: do a phpinfo() and look at the mysql bits
<6> ye
<17> Stormchaser: thanks, i'll look it up
<6> s+
<12> Xyphoid ok
<1> Akuma_: eAccelerator, but it doesn't work with PHP 5.1 and randomly ****s your entire system up.
<18> hahahah
<3> i have a suspicion the server is misconfigured - it's trying to use a local socket connection to myself, but a .sql file doesn't sound like one
<1> How can "PHP Notice" show when display_errors = off?!
<10> KimmoA: You're a drama queen :P
<6> KimmoA: wrong php.ini
<1> Stormchaser: It says it's the same config...
<3> restarted your webserver after changing the .ini?
<1> I didn't have to change the config, because it was already right.
<1> According to php -i.
<1> Something is horribly wrong here...
<3> you're using the command line version? or the web?
<6> KimmoA: Are you executing a script?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#debian
#ati
dhclient.conf get nameserver
BLKROGET failed: Inappropriate ioctl for device hdparm
#perl
#perl
give root passwd for maint
mysql lower case file system
kmail wab
xsasl_dovecot_handle_reply: auth reply



Home  |  disclaimer  |  contact  |  submit quotes