@# 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> as well as a $database->query if i wanted to write a query myself
<1> xshad, thanks man
<0> and inserts... $db->insert('table', array('key' => 'value', 'key' => 'value'));
<2> Heh.
<3> I guess I really am disinterested in PHP these days.
<4> nahhhh... G1's seems to be better on insert/updat hehehe
<2> Amazing how bookmarks can get away from you sometimes..
<4> $bla = new CoolObject(); $bla->setName("My name"); $bla->save();
<3> Oh, that's nothing. I haven't even started importing my bookmarks file from Galeon yet.
<2> mattmcc: It's not just you... I've taken my intrests elsewhere as well.
<0> mattmcc: i've been much less interested in PHP as well, and am making an active effort to learn C
<2> I want to continue in C, but python is just more inviting...
<3> BigE: Well, I had an amusing conversation with the guy that hired me for my current PHP job, back when we met (While shooting pool in a bar) and was talking about this PHP opening he had.
<5> Is there anything out that that would compare two arrays and drop all similar elements between the arrays?
<3> He said he was looking for someone with ~5 years of PHP experience, which isn't that hard.



<3> The challenge is finding someone who, after 5 years, is still interested in a PHP job.
<6> mattmcc..hhahaha seriously
<2> mattmcc: Hah! I belive it.
<7> Hey
<8> mattmcc: amen to that
<8> mattmcc: I'm rounding 6 years, and I'm almost ready to completely drop it
<7> http://pastebin.com/567774 <-- a broken binary to decimal converter
<7> whats wrong? :)
<9> Lean: http://us2.php.net/bin2dec
<7> itrebal, thats no fun _S
<5> Is there any better way to take two arrays and deleting similar elements by nesting foreach and seeing if there are any matches?
<3> Similar, or identical?
<3> There are functions for unions and intersections.
<10> hey guys, a noob to php, now i have a few mates who code in php and one says u need to know html the other says u dont. Any opinions?
<9> !tell die-Sel about u
<9> you dont *have* to, its rather usefull though
<4> yes and no, will you code PHP or PHP+HTML ? :P
<10> i program in C# and i was given the task of converting a bit torrent tracker to C#. So i need to learn php to understand how the tracker works.
<7> but if he needs to learn HTML he also needs to learn CSS
<7> an then XHTML
<10> so i dunno f the tracker is coded in all php or php/html
<7> an then XML
<11> Will someone help me figure out why this doesn't work?
<11> http://pastebin.com/567773
<7> die-Sel, BT tracker?
<10> yea Lean
<10> it a tracker to serve upsoftware for a local firm
<10> Seoina Software based in Ireland :)
<7> what software are you using?
<10> they dont have a C# programmer and ave been given the task
<4> root404 missind a "}"
<9> maybe i'm not catching it... but whats the point of exceptions?
<4> missing
<9> try/catch
<11> xshad: Where?
<4> #
<10> well at the min i have Lean i have EnginSite Editor for PHP IDE and a C# compiler
<4> if(count($_POST)) { #
<4> ahhh ****ing pastebin... sorry
<7> die-Sel, hmmmm
<4> at the end of the script
<10> Boland compiler for C#
<10> i almost forgot its name
<7> you do only need to study the protokol to learn howto make a tracker not learn php :)
<7> protocol*
<10> that wud be a better way of doing it lol. funny nuff i was looking for stuff on the protocal but cudnt find anything with much detail
<7> but the "tracker" is only php an with that gives a bencoded output to the client
<12> $site[0] = $_POST['siteid']; gives me: Warning: Cannot use a scalar value as an array in why?
<12> i'm trying to put a value into an array at position 0
<3> MrNaz: $site is not an array.
<12> oh
<10> so recoding in C# wudnt be an option due to the way the client r coded
<7> die-Sel, http://www.bittorrent.com/protocol.html'
<12> mattmcc thanks
<7> there are some opensource C# trackers that you can study :)
<10> thk Lean, will that spec on bams site be suitable for my task?
<7> i think so
<10> cheers, u know any links for the open source trackers?



<4> !tell die-Sel about u
<7> die-Sel, 2sec cant remember the freaking names
<7> :)
<11> Is there a 'php code' beautifier?
<4> pear.php.net/php_beatifier
<3> Some might say "the delete key".
<9> !tell root404 about error last line
<4> ops
<4> pear.php.net/php_beautifier
<9> root404: on that messsage, is a link to a code beautifier
<11> Is there one that does it better?
<7> die-Sel, http://bnbteasytracker.sourceforge.net/ C++
<9> root404: you've seen that one?
<11> I just looked at it.
<10> thanks Lean
<4> root404 pear.php.net/php_beautifier
<7> die-Sel, an then there is the standart TB based php tracker & site TB-Dev an TB-Source
<10> i have a copy of TB-DEV open in my php IDE
<10> i looked like a fried chicken it confusing me lol
<7> TB-DEV is also disgusting
<7> maybe thats why :)
<10> its very dirty code
<10> as i say anyway lol
<7> yea
<10> and i mean by dirty code as its just coded with no respect for new developers coming to it
<13> anyone here have any experience with PHP and uploadinging/transferring very large files .?? I set my php to 128MB per instance, and it's still running out of memory.
<13> just trying to upload a 12MB file.
<7> die-Sel, not only that but it ****s
<10> that 2. the tbsource is a little better but its still very hard to set up
<10> it needs a lot of work to get it going, thats why i am making a simple all in one package tracker with all the functions that is needed
<14> If I put an @ in front of an exception to not print errors, and that function normally throws an exception on error, will it still throw an exception?
<14> SORRY If I put an @ in front of a function call to not print errors, and that function normally throws an exception on error, will it still throw an exception?
<15> http://codedump.nutextonline.com/index.php
<15> can someone look at that for me?
<9> dj_segfault: i think thats the point of it...
<9> http://repository.itrebal.com/db.cls.php is that just.... bad? i'm trying to make a rather thin db abstraction layer
<14> itrebal: Well there's a difference between PHP not printing a message to the browser on exception, and the exception not getting thrown at all. If I call the function within a try block, I can catch it, but I would not want anything sent to the browser about the error. Dig?
<9> dj_segfault: yea, i think that is what it'l do
<14> itrebal: uhm, which?
<16> sendmail_path = /usr/sbin/sendmail -t -i
<16> this is all right?
<4> itrebal http://g1.tigris.org/source/browse/g1/database/
<4> with some modification it works standalone :)
<9> i dont wanna work with g1 :)
<4> :(
<14> itrebal: Which will it do? not print anything and not throw the exception, or not print anything but throw the exception?
<5> Alright, say I have a text file named file.txt. I upload the file from my system to my host via ftp. Is there anyway to read the date that the file was uploaded via FTP?
<9> dj_segfault: i cant say anything for sure, but i expect it'd throw the exception - using @ suppresses error messages, but they still return false and leave other information
<4> foo filemtime
<5> xshad: thanks
<15> doh just relised i pasted wronge address
<14> itrebal: Thanks. I guess I'll write a test for it,
<17> If I type, '$var;' in a PHP file, what does it mean? Declares variable 'var' and sets it to nothing?
<17> Or is it not possible?
<3> The former.
<4> spyro_boy www.php.net/tutorial
<17> xshad, lol. I was hoping I wouldn't have gotten that.
<4> <?php '$var'; ?> do this and see
<4> :P
<4> i need caffeine
<18> dont we all
<17> xshad, ahaha.
<19> No.
<14> xshad: http://www.thinkgeek.com/caffeine/candy/5b96/
<19> I'd say most of you need much, much less.
<4> wow dj_segfault :D
<4> those gums rules
<17> xshad, hah. I got a 'variable not declared' Notice. :|
<17> s/it/he/
<17> Anyway, it makes sence.


Name:

Comments:

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






Return to #php
or
Go to some related logs:

sarge mysql5 snort
relabel with tune2fs
ud garh wow
#debian
#debian
dhcpd.conf expecting numeric value.
kdm dont'start
gentoo xmms skin
ti-84 ubuntu
#linux



Home  |  disclaimer  |  contact  |  submit quotes