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



Comments:

<0> hi
<1> ok this java book is pissing me off
<2> hmmmmm
<2> java = :(
<1> about half the examples in the freaking book don't work
<1> wtf kinda expert is that???
<3> does php5 need mysql4, or will it work ok with mysql3?
<0> what could be the cause if session files don't get cleaned up from /tmp? i'm just deleting 800000 sess_* files
<1> don't editors check books nowadays?
<2> why would you want 3 ?
<1> or does that only apply to the New York Times?
<3> because I don't want to upgrade my mysql installation
<2> nmatrix9: im sure they work lol
<4> hello all! anyone that has used xajax?
<5> nevermind
<2> Yep



<3> I have around 20 databases on it, all in use Wizz_kidd11
<2> you can upgrade and still keep the DB's
<1> Wizz_kidd11: no they don't at least not on this box I went to the site just in case there was a errata
<1> thought I missed something
<1> so I dl the files from the site itself
<3> Wizz_kidd11: I don't want to risk loosing them, can you answer my question?
<1> compiled
<1> then ran it
<2> heh Wizz_kidd11 find it hard to belive that a book would be that bad
<1> and got the same errors
<6> I am p***ing the name of an array to a function: e.g function_call(array_name) and I want to use the array name to call it's values, e.g. in the function: $array[0][1]; remember $array contains the NAMe of the array I wish to call. Any ideas about how to call it properly, as it doesn't seem to work for me;
<6> echo $array[0][1];
<2> an e book nmatrix9 ')
<1> no library book
<7> circa 1942
<8> garry__: Erm, the name in what scope?
<8> gary__: And why wouldn't you just p*** the array?
<2> gary_: seems a sloppy way of doing it
<6> mattmcc: the array is defined in the include file where the function is located
<9> so the idea is that you have all the arrays defined in the include file, then from wherever you are, you can just call the function and p*** the array name so it knows what to use
<9> a dynamic function for all purposes
<4> gary_: make it like this in the funct
<8> Okay, but why not just p*** the array itself?
<4> for($i=0;$i<sizeof($arr);$i++) { $arr[$i][$m][$s][$o][$p]='goo barry!'; }
<10> Right. Instead of foo('bar'), why not foo($bar)?
<4> where i,m,s,o,p are loop counters
<4> mattmcc offered the righter way to do it - p*** it as refference
<11> valqk: you realize, you are insane, right?
<4> AcidReign: definately! :) ROLF :)
<11> valqk: "righter" ?
<4> AcidReign: the better
<12> Hi. Anyone running Zend studio on Linux ?
<4> english is not my native
<13> is there a way to read the http headers that are send when you open a url with fopen or file_get_contents ?
<13> cavediver: I am
<4> AcidReign: I did this few times and it worked just fine and 1000xtimes faster than 10 selects in sql ;-)
<4> welll in table with 20 000 000 lines :)
<12> metalhedd_: I'm having trouble getting it to work. Install went fine but when I start it no menus appear. Just a empty grey screen. However the initial tips-screen is displayed ok. Do you recognize this problem ?
<4> AcidReign: you have no idea how faster php can be than sql :)
<4> so... anyone that can help me with xajas + smarty+ob_start+UTF8 problem?
<13> cavediver: no sorry, it worked great for me.
<9> valqk: well it's basically what I was doing anyway, except I was using a while loop
<9> still have the same problem
<12> metalhedd_: ok.
<9> just to re-cap
<9> I have an array. e.g.: food = array ( array("apples", "green"), array("oranges", "orange") );
<9> don't ask why it's like this :D
<4> AcidReign: ah yeah! I've used the same methon in convertChars or something like this named cl*** from phpcl***es - I've optimized it and now it works about 20 time faster for me
<9> now I have a function that reads the array and outputs it's data
<10> gary_: You mean $food, not food, right?
<9> but I want to be able to just say: read the array that is named in $variable. so it is dynamic, not just for one thing
<9> yes
<4> gary: when u deal with array with [][][][][][][] elements _DO NOT_ use while! NEVER! :)
<9> that's right :
<14> Morning
<9> point taken on board! :P
<9> evening
<4> I'm gettin' lost at fifth array :) but if i use while, welll... will never get it working ;-)
<4> evening :)



<4> welll... gary can you exaplin it a little bit more?
<9> yes
<4> what u wana do exaclty?
<10> !tell valqk about u
<15> is there any way to read the http header of an incoming connection?
<8> gary_: I'm sticking with my original suggestion. P*** the array, rather than its name.
<2> anyone here mess with php qt as of yet
<9> well, i have a normal webpage, and I want to call a function to output some things. The function itself uses an array to output the items in question. This all worked fine when I was just calling the array statically by name
<11> valqk: what did any of that have to do with a *5* dimensional array??!!
<10> lagger^: Take a gander at php.net/apache
<4> AcidReign: well... stats on 5 criteria... don't ask! simply you don't wanna know ;-)
<9> I want to go one stage further. Have the function read a variable p***ed to it, to find out what array it is supposed to read. So it goes like this: (Read array with the name located in the $variable). Rather than ("Read array $fruit")
<3> guys, is there a guide somewhere to upgrade from php4 to php5 on FC3?
<15> TML: thanks
<16> TML: that serialize problem I told you about earlier (you may have already forgotten ;), I had to remove spurious slashes
<16> TML: was failing because the s: counts were off
<10> Kog: Ah. You have magic_quotes_gpc on.
<16> TML: that's on by default?
<16> (4.4)
<10> Kog: I don't recall the default setting, but I ***ume so.
<4> gary: uhm hmhmmmmm
<9> done it I think
<16> magic_quotes_gpcOnOn
<4> u should scan by key...
<4> how?
<10> Kog: ta-daaa
<10> !tell valqk about u
<16> TML: I coulda sworn they turned that off in the 4/5
<9> I did used {} to do it. So echo {$variable[0][0]}
<9> sorry
<9> i did
<16> TML: oh well, better leave it on. osCommerce might throw a fit
<2> PHP to ***ebly coming soon !!!!
<9> I did used {} to do it. So echo ($this->{$variable}[0][0])
<16> although... I now know what magic_quotes_gpc does
<10> valqk: I won't warn you again. The next one, you'll be removed.
<17> Kog: You shouldn't use oscommerce, anyways...
<16> Stormchaser: what should we be using?
<4> TML: k I'm outta here! that suz u know. damn! nighty!
<17> check out cpcommerce
<16> Wizz_kidd11: there are already ***emblers/compilers for PHP
<16> no one uses them because it's a stupid idea ;)
<2> show me
<16> Wizz_kidd11: learn to use google
<18> Hey. When I declare a function, how do I make a parameter optional?
<2> show me
<2> lol
<16> find it yourself
<2> dude
<16> although, I've seen lexx/yacc for it
<2> ummm.......
<19> !tell ds- about u
<18> when you guys have quite finished talking about php compilers ;)
<16> Stormchaser: I wish I had seen that earlier...
<19> lol
<16> Stormchaser: we evaluated ~10 solutions
<16> and somehow... we missed that one
<18> pretty pretty please!! When I declare a function, how do I make a parameter optional?
<17> Kog: I know of no person, that would know everything :)
<16> Stormchaser: yet, I think my google-fu is tolerably strong
<18> so that when you call the function, you don't need to fill it in
<16> Stormx2: I u sually do function f($param, $param2 = "I hate goats")
<19> ;p
<20> lexx and yarc
<21> yeah, default values
<22> How do I parse a a part of an array as 2 variables?
<17> :)


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#gentoo
raid cannot read block bitmap
ubuntu ol2mbox package
kmilo+fglrx
(chroot) livecd / # lspci command not found
enforcing +tn channel set
smtp read timeout +domino
install unrar-nonfree ubuntu
#sql
ubuntu GPG error: cipherfunk



Home  |  disclaimer  |  contact  |  submit quotes