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



Comments:

<0> Dangermouse: wow! but the first 6 rows have the key columns and nothing else...
<1> :)
<1> Something wrong with your query then?
<1> But thats not for here
<1> Anyway, got to go.
<0> Dangermouse: i guess so, but it's not a complicated query at all... simple 2-table outer join...
<2> !+g8
<3> Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here.
<0> Dangermouse: thanks for the help, though
<2> Jymmm: Odd... the `man login` requires a p***word... Do you know it?
<0> ha! got it... the data input to the master had been changed, but not the child... 6 rows worth...
<4> Wolfpaws : whats a p***word?
<4> gymsmoke how lame!
<2> Jymmm: no idea... must be somehow connected to a phisical p***port
<2> *physical



<4> Wolfpaws tey 'man p***word'
<2> 'kay
<2> Jymmm: still wants this "p***word"
<4> Wolfpaws: then give it to it, maybe it's hungry
<2> Jymmm: no idea, what that is supposed to be...
<2> Hm... that's not it...
<5> Hey all
<5> beyond the PHP documentation, whats a good resource to view and learn from practical examples?
<2> trial-by-error
<6> ##PHP: Is it possible to specify arguments only to $arg1 and $arg4 when calling function f($arg1, $arg2 = 2, $arg3 = 3, $arg4 = 4) in PHP 4.4.2?
<2> acc_: no.
<7> acc_ : no
<8> and there's the ****ing bug.
<5> ?
<9> I have a popup message box that I need to click ok on. I'm using curl to post to a page then a messagebox pops up that I need to hit ok on. How can I get curl to do this?
<8> someone added a check for MYSQLI_STATUS_VALID to MYSQLI_FETCH_RESOURCE but MYSQLI_FETCH_RESOURCE returns MYSQLI_STATUS_INITIALIZED so it fails and it all goes tits up.
<8> since the check is __check && my_res->status < __check
<8> and MYSQLI_STATUS_VALID is 3 and MYSQLI_STATUS_INITIALIZED is 2
<8> 5.1.2 doesn't bother with the check and so mysqli_ssl_set works.
<10> Is mysqli that much better than mysql ***uming I have a 5.0 version of the server?
<11> What is the best open source calendar for PHP? I'm a newbie
<2> it's not "better"... It just offer additional functionaliity
<2> fiab: google knows
<8> is there a web cvs (or wotnot) portal into the php source. want to see the change comment for the above change.
<2> CaT[tm]: cvs.php.net
<8> thanks
<12> nn all
<8> ok.
<8> looks like a blind add for MYSQLI_STATUS_VALID when the checking functionality was introduced.
<2> ouch
<8> mysqli_ssl_set is one of the few functions that can be called before a connection is established.
<8> whee
<2> CaT[tm]: PRopose a patch... somewhere...
<8> :)
<8> there be a bugzilla? :)
<8> there be
<2> bugs.php.net
<8> I like how the static vars are documented in cvs but not the source code. :/
<8> heh. thre is no CAPTCHA image on the bug reporting page for me. =)
<2> there shouldn't be any
<8> it's got a CAPTCHA input field...
<2> o.O
<8> :)
<13> Hi, would a line like: $mysql_id = mysql_connect($dbhost, $dbuser, $dbp***); break if $user contains a space?
<13> err $dbuser.
<13> Do I need to quote any of those parameters?
<14> I've never had spaces in mysql usernames
<14> does that work_
<14> ?
<2> locsmif: it shouldn't... And you shouldn't use db usernames with spaces
<13> rwc-, heh, no I wouldn't do that either, but I was showing a hypothetical case, so I know how to write code like this in other situations as well.
<13> Wolfpaws, sure, ty
<14> underscores all the way
<13> Yeah, I use that same mantra for my filenames.
<15> mantra you say
<13> (I hate punctuation in filenames)
<13> jsoft, because it sounds more prententious ;)
<16> Hi. This week my IP switched me over to PHP 5 but forgot to add the lines to Apache 'AddType application/x-httpd-php php' which resulted in the site laoding, but if 'view source' was clicked, all my php cod e was exposed. Question: is there a setting in php.ini or apache that would prevent this from occuring?



<15> If I went echo "I am leet\n"; would that make me leet?
<17> Krunk: No, that has nothing to do with PHP... that's an apache thing only.
<7> Krunk: I really doubt your site was loading, url?
<16> StakHate: Oh yup - it loaded, black page with html showing - click view source, and all my php code displayed.
<16> BigE: Thought so, but worth a try asking . . .
<15> :D
<18> Krunk: You could use include to put the bulk of your code outside the web root.
<19> need help with the ./configure of php 5.1.4 with mysqli support. I always get the message : configure: error: mysql configure failed. Please check config.log for more information.
<20> weeb0_bob, did you check config.log?
<19> yes and it don't help me much.
<20> maybe it has mysql libraries or headers missing or it looks for them in wrong place
<19> do I have to download something ? where do I know where are the mysql librarie php need ? in the doc, they say to use --with-mysql=/usr this don't work. if I try to insert --with-mysqli=<path> I don't know where are the mysqli libraries...
<20> you need to make clear where your mysql libraries are
<19> how do I can do that ? /usr/lib/mysql ?
<20> /usr/lib/mysql doesn't work?
<19> no, I tried a lot of place, I always get the same error.
<19> and mysqli, do you know where he could be ?
<20> i compiled last time a year ago
<19> ok!
<21> /usr
<21> It should be =/usr
<19> thank you TML
<20> there were old interface and new one, mysqli and it took time to get both working with same install
<21> Because --with-foo=$bar looks for $bar/lib/$foo and $bar/include/$foo
<22> http://images.google.com/imgres?imgurl=http://liepins.de/backspace/img/HA_HA.jpg&imgrefurl=http://liepins.de/backspace/img/&h=431&w=600&sz=53&tbnid=wZevRPVxQKbYBM:&tbnh=95&tbnw=133&prev=/images%3Fq%3Dha%2Bha&start=3&sa=X&oi=images&ct=image&cd=3
<22> oops
<20> haha, i'm using the internet
<19> lol. Killer and TML, I'm currently trying to ./configure. I'll let you know
<22> I like the HA HA man
<22> he's freaking hillarious
<20> yes, you had to use ./configure with those arguments
<19> damned, I got an zlib error ... I'm trying another time :/
<19> I always get the following error when I ./configure : checking for Mysql unix socket location... no
<19> checking for mysql_close in -lmysqlclient... no
<19> checking for mysql_error in -lmysqlclient... no
<23> hi all, i'm trying out the adodb abstraction layer with and without the adodb c extension and with the extension loaded the benchmarks from the site are over 10 times slower than without loading the extension. This is php 5.1.2 compiled from source, as well as the extension, gcc 3.4.6, and mysql 5.0.19. Benchmarks/database are all from the benchmark file. Thanks in advance.
<24> hi, does anyone on know compiling the CVS version of PHP?
<21> KL: php.net/install
<24> TML: what i can't figure out is building without apache
<25> hi
<24> TML: i ./buildconf. i ./configure --blah. but i can't run make after that
<24> TML: there's no Makefile
<21> KL: If there's no Makefile, then you actuall need to READ what ./configure said, because it failed.
<24> ah yes, i just noticed that
<24> checking size of short... configure: error: cannot compute sizeof (short), 77
<24> wow. how can it fail finding sizeof(short)!!
<24> hmmm probably an autoconf/automake version issue
<26> question: i have a string $a = "Hello World" and I want to strip all characters except characters $b = "eoW" to get $c = "eoWo". any advice?
<26> (b can be an array of chars too, whatever)
<26> i can do direct char-by-char mids with a function but there has to be a more efficient way
<27> hi all, anybody around that is familiar with PDO ?
<28> sabster: $s = preg_replace('/[^eoW]/', '', $s);
<26> arpad: Thanks. I really need to learn regexp....
<9> is there a way to get curl to not return anything? even with curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); it's showing the page and the java popup which is hanging my script
<27> guys, if I need a SQL query like this select * from X where Col = 'SomeValue'
<27> and use the prepare for PDO
<27> Can I write select * from X where Col = ':Name' and set Name to SomeValue
<10> $
<10> Not :.
<27> or Can I write select * from X where Col = '?' and p*** array( 'SomeName') ?
<9> anyone know much about curl? I can't seem to get any feedback on this, is it a hard thing to do?
<29> Smacks: CURL is very simple to use
<9> I know that
<29> Then what is your question?!
<9> just there is a java popup when I have my curl filling a form
<9> which hangs my loop
<9> says "added" and then you have to hit ok
<9> don't know how to supress the messagebox or click ok using php and curl, can it be done?
<29> Well, that's not CURL's problem
<19> Do somebody has builded php 5.1.4 with mysql 5.0.21 ??????
<9> I didn't imply it was anyones problem, just was trying to figure out a way to work through it
<29> We have to solve that using just PHP and maybe some clever JavaScript
<30> bye
<9> is there a way to just post to a form and not follow it? so I don't have the js to deal with


Name:

Comments:

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






Return to #php
or
Go to some related logs:

mordorf
ess1869 ubuntu
gentoo 915gm xorg no matching device section for instance
kmodule boot linux sysinit
#perl
json.php Undefined property:
karajan alsa
apt-get install xfont-artwiz
pearl strftime
#centos



Home  |  disclaimer  |  contact  |  submit quotes