Session Start: Mon Jan 29 00:00:00 2007
Session Ident: #php
[00:00] * Disconnected
[00:00] * Attempting to rejoin channel #php
[00:00] * Rejoined channel #php
[00:00] * Topic is '!rules :: www.php.net/manual ::<cssmotion> im smart, lol, i know php ...
[00:00] * Set by apathy-!blah@84-12-20-92.dyn.gotadsl.co.uk on Sat Jan 27 10:25:08
[00:00] -devrandom- Welcome to #php jJones! Before you ask anything, read the rules of the channel
[00:00] <rza> meeting ->
[00:00] <ntom> if(strpos($_POST['TradeShowLink'], 'http') == false) <- this is returning
[00:01] <trophaeum> ntom, ===
[00:01] <trophaeum> ntom, it returned 0 not false however == doesnt compare data type and 0 =
[00:02] <Shadda> ntom, use !==
[00:02] <Macca> i'll work smarter
[00:02] <Macca> not harder !
[00:02] <YorT> ummm
[00:02] <ntom> okay i'l try !==
[00:02] <noc`> Shadda: you up for gaming?
[00:02] <Macca> stfu yrot
[00:02] <noc`> Macca: you struggle witht hat one, ey
[00:02] <Shadda> noc`, I might be. Talking to a client at the moment though
[00:02] <YorT> Macca, fuck you
[00:03] <Macca> mmkay
[00:03] <YorT> :)
[00:03] <Macca> let's go
[00:03] * Macca unzips
[00:03] <noc`> Shadda: no rush, im cleaning atm. just getting an EOI
[00:03] <Shadda> is mugsy around?
[00:03] <noc`> if we decide to play he will be
[00:03] <YorT> the lucene engine in zend is impressive
[00:03] <YorT> now that i know how it works
[00:03] <ntom> !== allowed me to add a $_POST['TradeShowLink'] which did not contain http
[00:04] <ntom> i don't get why == false isn't he right one to use here
[00:04] <apathy--> if(strpos($_POST['TradeShowLink'], 'http') !== false) { //it exists } else
[00:04] <apathy--> ntom: == false will also match 0
[00:04] <trophaeum> ntom, == is different to ===, 0 == false is true but 0 === false is not t
[00:04] <apathy--> and http migth be the first thing on the string
[00:04] <apathy--> so it's position will be 0
[00:05] * Shadda giggles to himself and walks away
[00:05] <ntom> ...okay
[00:05] <apathy--> when I'm done withy our mom I'm gonna tell on you
[00:05] <ntom> so whats the right way todo it?
[00:05] <YorT> i gotta do some designs
[00:05] <Shadda> ntom, like we said. !== false
[00:05] <trophaeum> ntom, just use ===
[00:05] <Shadda> trophaeum no
[00:05] <ntom> Shadda: !== false - -- this does not work, like i said
[00:05] <Shadda> er, oh he wants to know if its not there?
[00:05] <YorT> ok, if im using templating ... should i call db queries direct from the templa
[00:06] <Shadda> I misread what he needed
[00:06] <ntom> yeah, and if its not there then i want todo whats in the if
[00:06] <Shadda> so yeah
[00:06] <trophaeum> Shadda, he already has his code assuming that it will go there if it matc
[00:06] <Shadda> like trophaeum said
[00:06] <Shadda> trophaeum I figured he wanted to see if it was there, is all :)
[00:06] <Shadda> but he wants the inverse
[00:07] <ntom> yeah it was right, ===
[00:07] <ntom> i never use ===. .. seems odd
[00:08] <Shadda> == equates data, === equates data and type
[00:08] <trophaeum> ntom, 123 === '123' is false, 123 == '123' is true, its handy :)
[00:08] <noc`> Shadda, let me know when you're ready and i'll see how far i am away and wake
[00:08] <YorT> MVC's are confusing when it comes to js' and shit
[00:08] <ntom> this is good learning, thanks guys
[00:08] <Shadda> meh whenever's fine.
[00:09] <Shadda> I'm just mucking around with GD2's inner workings
[00:10] <YorT> anyone listen to any php podcasts?
[00:11] <noc`> i trust people have more to do in their lives
[00:12] <YorT> not me :(
[00:12] <noc`> lol
[00:12] <Shadda> I do, and that says a whole damn lot
[00:12] <apathy--> I've been to a couple of phpcon type things, and it's really not that inte
[00:12] <apathy--> I wouldn't touch a php podcast with Shadda's
[00:13] <YorT> heh
[00:13] <YorT> apathy--, i just like staying up to date with technology
[00:13] <apathy--> sure, me too
[00:13] <apathy--> I'md read articles though
[00:13] <YorT> true
[00:13] <apathy--> a podcast seems like a really inappropriate way to do it
[00:13] <YorT> maybe
[00:13] <apathy--> you can't concentate on anything else if you're listening to something, so
[00:14] <YorT> i can :P
[00:15] <Shadda> man, back when i had satellite, there was this channel for college/IT relate
[00:15] <Shadda> this dude was giving C lessons
[00:16] <Shadda> ...ok, I know C, but that was still the most BORING crap I've ever seen
[00:16] <Shadda> worse than ben stein
[00:16] <jome> Morning guys
[00:17] <YorT> morning
[00:17] <Shadda> "And this is....an array. now...an array is...a group of variables. if you r
[00:18] <Macca> wtf
[00:18] <Macca> wmp can't play anything
[00:19] <apathy--> I hate wmp
[00:24] <jTr0n> vlc
[00:24] <jome> anyone into domain sales?
[00:24] <jome> yeah, vlc is the shit :)
[00:24] <sparkies> vlc rocks your socks
[00:24] <YorT> vlc is alright
[00:24] <sparkies> ..
[00:24] <Shadda> vlc took my virginity
[00:24] <Shadda> twice
[00:25] <jome> and gave it back!
[00:25] <apathy--> gawd, I remember when my virginity grew back
[00:25] <apathy--> didn't get laid for a whole year :/
[00:25] <jeremy101> vlc killed jack bauer!
[00:25] <sparkies> heh
[00:26] <Shadda> apathy-- i get the distinct feeling thats how this year is gonna go ;)
[00:26] <jeremy101> apathy, your penis was that small huh?
[00:26] <rza> penis mmmm
[00:26] <apathy--> now..
[00:26] <Shadda> <grin>
[00:26] <apathy--> to kick or not to kick
[00:27] * apathy-- weighs up the options
[00:27] <Shadda> do it, that wasn't even remotely funny
[00:27] <Shadda> lacked timing, tact, and proper wording
[00:27] <sparkies> wtf is was so fucking funny
[00:27] <Shadda> hehehe
[00:27] <Shadda> apathy-- it's not that jome's dick is small, really, its just that his girlf
[00:28] <apathy--> I knew there was a reason they called her a sloppy bucket
[00:28] <jTr0n> like throwing a hotdog down a hallway
[00:28] <apathy--> haha
[00:29] <lcase> is this loging procedure safe, http://itpro.no/art/2838.html ? it cointains R
[00:30] <rza> that looks gay
[00:30] <rza> (swedish)
[00:30] <sparkies> sweedes CANT CODE
[00:30] <trev> rofl
[00:30] <lcase> rza, lol. its .no
[00:31] <sparkies> and that makes it better how?
[00:31] <lcase> hehe, prolly dont.
[00:31] <sparkies> Say No. To .no.
[00:31] <lcase> hehe
[00:31] <rza> sparkies: have you ever talked to a norwegian ?
[00:31] <sparkies> rza, that isnt possible
[00:31] <trev> "SELECT id FROM dinbrukerbase" heh
[00:31] <rza> you cant understand a word theyre saying
[00:31] <trev> thats an interesting way to say database i suppose
[00:31] <Shadda> norwegians communicate via a complex system of grunts and howls
[00:31] <lcase> rza, where are u from?
[00:32] * trev will start using it
[00:32] <ntom> whats the easiest way for me to install GD2 for php5 on ubuntu?
[00:32] <lcase> lol, we dont! Shadda!
[00:32] <noc`> topgear is back!
[00:32] <sparkies> heh
[00:32] <rza> lcase: finland
[00:32] <lcase> ntom, linuxhelp
[00:32] <lcase> rza, the land of the vodka <3
[00:32] <rza> actually russia is the land of vodka
[00:32] <lcase> finlandia
[00:32] <rza> we have Koskenkorva here
[00:32] <rza> "kossu"
[00:32] <Shadda> I thought russia was the land of cold, sophisticated women who don't shave
[00:32] <rza> Finlandia is mostly for export
[00:33] <lcase> we norwegiandds find Findland crazy when it comes to consuming booze
[00:33] <lcase> :)
[00:33] <rza> yeah
[00:33] <rza> thats why we have government monopoly
[00:33] <rza> and you can buy booze only during 9am - 9pm
[00:34] <lcase> but really, i need to implement a safe login php procedure... could somebody
[00:34] <rza> use filter to filter input
[00:34] <rza> and then compare to what ever is your password backend
[00:35] <lcase> rza, that went a little bit over my head :)
[00:35] <lcase> what about this, http://www.devshed.com/c/a/PHP/Creating-a-Secure-PHP-Login-S
[00:36] <rza> that uses pear db
[00:36] <rza> just take user password and username from form
[00:36] <rza> sanitize the input
[00:36] <rza> compare it to database
[00:36] <rza> and set session value which says user is logged
[00:36] <rza> possibly save some other info
[00:37] <lcase> yes, isnt that what the first link i gave does? http://itpro.no/art/2838.html
[00:37] <rza> i dont understand that langauge
[00:37] <rza> language
[00:37] <lcase> but you understand the php?
[00:38] <lcase> is it so awful?
[00:38] <lcase> and is it possible rewrite it to avvoid using, Register_globals ?
[00:38] <rza> where does that code use register globals?
[00:39] <lcase> it says that it has to be turned on for the script to work..
[00:40] <YorT> i think im gonna use tables for this site
[00:40] <lcase> YorT, why not <div> ?
[00:41] <YorT> lcase, cos div cant handle the complexity im going into :P
[00:41] <lcase> remember to restric <table> to tabular data only!
[00:41] <YorT> na, this is pure layout
[00:41] <lcase> than <div> ;)
[00:41] <lcase> then*
[00:42] <YorT> i find it hard working with div sometimes
[00:44] <lcase> rza, awful? http://php.codenewbie.com/articles/php/1482/Login_With_Sessions-P
[00:44] <lcase> YorT, why is that?
[00:46] <rza> lcase: so youre looking for a premade solution?
[00:46] <lcase> rza, pretty much. my php skills sucks too much for writing one of my own..
[00:47] <YorT> lcase, im not too good at css and div's, and it takes a while to design like t
[00:47] <rza> go to hotscripts if you want premade solutions
[00:47] <rza> come back if you actually plan to develop something
[00:48] <lcase> i would make one myself if i had the tutorial to do it. but i cant find nothi
[00:49] <lcase> YorT, i see. but atleast keep your tables aligned with a <div>!
[00:49] <YorT> heh
[00:49] <YorT> ok
[00:49] <rza> http://itpro.no/art/2838.html
[00:49] <rza> follow that
[00:49] <rza> you can see pseudocode there
[00:49] <YorT> who?
[00:50] <rza> lcase
[00:50] <lcase> rza, thats just copy and paste my friend :) but i prolly will use that if i c
[00:50] <rza> you dont need to copy-paste
[00:50] <rza> you can see the flow from that code
[00:50] <rza> do you know php at all?
[00:51] <lcase> yes, but it only farily good. i've had jsp and java for two 1 year in my sivi
[00:52] <lcase> tho different, i see the simmilarities.
[00:52] <rza> how this can be so hard then+
[00:52] <rza> from jsp base you should be able to do this easily
[00:53] * easyoh is now known as eAsYoH
[00:53] <Shai-Tan> we've even taught New Zealanders to do it
[00:53] <lcase> yes, but to do it in a safe way, i have noe idea.?
[00:53] <Shai-Tan> although, none from the north island
[00:53] <rza> the same practices apply in java and php
[00:53] <rza> sanitize user input
[00:54] <lcase> ok. i'll try
[00:54] <Martz> hmm
[00:54] <Martz> Sanitize a user, now that would be a first, they're all crazy :o
[00:57] * nitetine is now known as NiteTine
[00:58] <Martz> damnit, my first boxes of vista have arrived and all the cases are cracked
[01:00] <Macca> would it be wrong to take the tv into the toilet?
[01:00] <Alpha232> ahh
[01:00] <apathy--> Macca, no
[01:00] <YorT> Macca, i watch movies over the psp on the toilet :P
[01:00] <apathy--> do it.
[01:00] <Shai-Tan> according to news here in .au, vista will let you arange your photo's, and
[01:00] <Alpha232> ok i need to be shot
[01:00] <YorT> Shai-Tan, heh
[01:00] <Macca> not the psp
[01:01] <Shadda> Alpha232 finally
[01:01] <Macca> the whole movie
[01:01] * Shadda loads his revolver
[01:01] <Macca> err
[01:01] <Macca> s/movie/tv
[01:01] <Martz> Me having vista is purely commercial :P
[01:01] <YorT> Shai-Tan, we start selling it tomorrow at work ... bit marketing thinge at wor
[01:01] <Alpha232> i am just fed up
[01:01] <Alpha232> why hasn't someone done a GOOD mysql logger for apache
[01:01] <Shai-Tan> YorT: well, I am sure it is equal to the value and stabiltiy of previous M
[01:02] <noc`> blaaaah
[01:02] * eAsYoH is now known as easyoh
[01:02] <YorT> Shai-Tan, yip, it will be that greant
[01:02] <YorT> great!
[01:02] <YorT> Alpha232, use lighttp
[01:02] <Alpha232> where is the dark overlord
[01:02] <YorT> i think it has mysql logger
[01:03] <Alpha232> at this point i might but i need apache because i do some weird handler sh
[01:03] <YorT> ok
[01:03] <Alpha232> i am just really pissed off
[01:03] <Martz> YorT, the marketing hype is crazy.
[01:04] <Martz> And it's just another piece of shit OS.
[01:04] <Alpha232> i spent the last hour trying to figure out why my server was segging
[01:04] <Alpha232> and it was because i accidently did an apt-get update
[01:04] <Alpha232> er upgrade
[01:04] <Alpha232> and it broke the fucking module
[01:04] <YorT> Martz, apple could make a killing from this ... if only they licensed there OS
[01:04] <YorT> even on a limited basis
[01:05] <Martz> Yeah
[01:05] <Alpha232> YorT: but the problem is, their money is in the machine not the OS
[01:05] <Alpha232> YorT: Especially now that is *ix
[01:05] <YorT> Alpha232, there money is actually in the ipod ... not in anything else atm
[01:05] <Martz> Vista to me looks horrible.
[01:05] <lcase> is it possible to modify header information when you have include ''; ?
[01:06] <Macca> Martz coz you're insane
[01:06] <YorT> Macca, hack your psp damit
[01:06] <Macca> nevar
[01:06] <YorT> girl
[01:06] <Martz> Macca: I think I am!
[01:07] <rza> lcase: yes
[01:07] <rza> lcase: if the include doesnt do any output
[01:08] <YorT> the Noobz team has once again fortified its position at the top of the homebre
[01:08] <YorT> downgrader available!
[01:08] <YorT> yeah baby
[01:08] <lcase> i've out all my sql info in /library/ , and it contains config.php, opendb.ph
[01:09] <lcase> but mysql_select_db($dbname); outputs..
[01:10] <globalCue> ... guess how this works: $a['b'][] = 'c';
[01:10] <NiteTine> it should add an element 'c' to the array in $a['b'] ...
[01:11] <globalCue> right
[01:11] <globalCue> it actually adds it to $a
[01:11] <globalCue> .. wtf
[01:11] <Shai-Tan> trying to teach my kids the benifits of ATFH's
[01:11] <rza> globalCue: no it doesnt
[01:12] <rza> http://paste.devpipe.com/2318
[01:12] <YorT> ok, im off todo a poo
[01:12] <YorT> then sleep
[01:12] <YorT> good night all
[01:12] <YorT> catch you tomorrow
[01:12] <rza> night
[01:13] <NiteTine> globalCue: works fine here
[01:13] <globalCue> right
[01:13] <globalCue> well in an isolated example it works
[01:13] <NiteTine> paste your code :)
[01:13] <globalCue> but.. am I right, those are the same:
[01:14] <globalCue> array_push($a,$b) and $a[] = $b;
[01:14] <globalCue> or there's a thin difference
[01:14] <globalCue> i just replaced a bunch of array_push with the latter, and now my code is
[01:14] <globalCue> and array items engind up not where I want them
[01:15] <rza> www.devpipe.com
[01:15] <rza> put the code there
[01:15] <globalCue> too long
[01:15] <rza> impossible to say without seeing the code
[01:15] <rza> if it works as isolated example it should work in a larger context
[01:15] <rza> unless you have some wtf there
[01:16] <Alpha232> if i am directly in the mysql client, what is the command to have it show
[01:16] <rza> what warnings?
[01:17] <globalCue> rza, http://paste.devpipe.com/2319
[01:17] <rza> it shows them automagically
[01:17] <Alpha232> if i am manually inserting data and it says 0 errors 2 warnings
[01:19] <rza> globalCue: that looks like a big wtf
[01:19] <globalCue> you know.. I've no effin idea what I was trying to do here: end($tokenGro
[01:19] <globalCue> this is really weird
[01:19] <globalCue> but it looks funny
[01:20] <globalCue> first one who guesses what I was trying to do, wins :P
[01:20] <globalCue> I mean, I apparently grab the last token group
[01:20] <globalCue> rza, could you be more concrete
[01:21] <NiteTine> you are setting $tokenGroup to be a reference to the last element, yeah
[01:21] <rza> could be divided into multiple functions
[01:21] <globalCue> rza, guess in three times why it isn't
[01:21] <Alpha232> Query OK, 1 row affected, 1 warning (0.00 sec)
[01:21] <globalCue> plus there's already many functions in this class which I didn't paste
[01:21] <Macca> YAY rza
[01:22] <globalCue> anyway
[01:22] <globalCue> please look up the parts where I use "[]"
[01:22] <globalCue> anything odd in there?
[01:25] <rza> sec
[01:25] <rza> im compiling magickwand
[01:25] <globalCue> :P ?
[01:26] <drucipher> go to sleep
[01:27] <gambl0re> can anybody help me
[01:27] <gambl0re> i am getting an error
[01:27] <Martz> So am I, it's too early in the morning for things to work.
[01:27] <Shai-Tan> gambl0re: nope, we dont help with errors
[01:28] <Kruge> gambl0re: You`d have to tell us what the error is before anyone can help you
[01:28] <Shai-Tan> gambl0re: at a guess I would say its not working
[01:28] <gambl0re> Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /www/1
[01:28] <Shai-Tan> hahahhahahahahhahahaaa
[01:28] <Kruge> I think there might be a parse error with the script
[01:29] <gambl0re> what am i suppose to fix?
[01:29] <Shai-Tan> gambl0re: what is line 17?
[01:29] <Kruge> Have you looked on line 17?
[01:29] <gambl0re> yes
[01:29] <Shai-Tan> and?
[01:29] <gambl0re> header( "Location: http://esboxing.110mb.com/index.html" );
[01:29] <Shai-Tan> what is line 16?
[01:29] <gambl0re> i think they think the location is a comment because of the double slashes
[01:30] <gambl0re> but i tried removing and putting www instead
[01:30] <gambl0re> but its the same
[01:30] <Booboo> you know
[01:30] <Booboo> back when i first started drinking caffiene-drinks, it'd give me a nice buzz
[01:30] <gambl0re> so whats wrong with it?
[01:30] <Shai-Tan> what is line 16?
[01:31] <Booboo> well now i'm used to it
[01:31] <Booboo> and it doesnt buzz as much
[01:31] <gambl0re> $user, $city, $fav_box, $posts, $email" );
[01:31] <NiteTine> lol
[01:31] <Booboo> You kick me.. so hard..
[01:31] <Shai-Tan> gambl0re: phps
[01:31] <gambl0re> im a beginner so just understand
[01:31] <gambl0re> ?
[01:32] <Shai-Tan> gambl0re: copy your file.php to file.phps and give us the url
[01:34] <drucipher> bruvvas and sistas
[01:34] <Martz> Any easy way to get stamp ink off your fingers?
[01:34] <drucipher> guys i juts asked a pretty long question in css so i apologize if you guy
[01:34] <Martz> I hate setting the damn date
[01:34] <Martz> heh
[01:34] <apathy--> Martz: acetone
[01:35] <Martz> nail varnish remover
[01:35] <Martz> !
[01:35] <apathy--> (nail varnish remover)
[01:35] <drucipher> lets say i created a web site for a company while working there... while
[01:35] <Martz> Good idea.
[01:35] <Martz> Thanks apathy--
[01:35] <apathy--> np
[01:35] <apathy--> that stuf shifts almost anything
[01:35] <Martz> Oh, reminds me, Im expecting an answer back today on that database...finger c
[01:35] <Shai-Tan> Martz: orbital sander
[01:35] <Martz> hahahah
[01:36] <Martz> drucipher meant to say "I was fired and now I want to hurt the company by ret
[01:37] <drucipher> i dont see where the question was all that irrelevant... its a tech quest
[01:37] <drucipher> im going to court for this, and im keeping the domain because i feel like
[01:37] <Shai-Tan> drucipher: ask a lawyer
[01:37] <Martz> In general, anything you create whilst working for a company belongs to them,
[01:38] <drucipher> im well aware the web site FILES belong to them
[01:38] <Martz> It's a normal clause to prevent moonlighting.
[01:38] <drucipher> they want the domain
[01:38] <Martz> A domain name is intellectual property.
[01:38] <drucipher> no one in the company thought of the name
[01:38] <Martz> If it's a name for one of their clients, I'd say they have a claim on it.
[01:38] <drucipher> nope
[01:38] <Martz> Yeah, and see a lawer.
[01:38] <Martz> :o
[01:38] <rza> drucipher: if you thought the name while working in the company its their prope
[01:39] <Shadda> noc` right, im off to bed
[01:39] <Shai-Tan> wot!
[01:39] <Shai-Tan> I am pawing through your code Shadda
[01:40] <Martz> I feel like Im in the 90's.
[01:41] <drucipher> hey martz.... hope you dont mind those msg's i sent you, its just you see
[01:41] <gambl0re> does this line look fine?
[01:41] <gambl0re> "header"( "Location: www.yahoo.com" );
[01:41] <apathy--> not at all
[01:41] <drucipher> take quotes off header
[01:41] <Shai-Tan> gambl0re: copy your file.php to file.phps and give us the url
[01:41] <apathy--> header('Location: ...')
[01:41] <apathy--> then always use exit()
[01:42] <apathy--> Shai-Tan, are you phising for passwords ? :)
[01:42] <drucipher> is exit(header("loc...")); permissable?
[01:42] <apathy--> drucipher: no
[01:42] <NiteTine> header('Location: http://www.yahoo.com/'); exit();
[01:42] <gambl0re> i did remove the quotes from header
[01:42] <Shai-Tan> apathy--: I am hoping for an account on localhost
[01:42] <drucipher> gambl0re: whats the line look like now
[01:43] <gambl0re> header( 'Location: www.yahoo.com' );
[01:43] <Shai-Tan> gambl0re: copy your file.php to file.phps and give us the url
[01:43] <gambl0re> ?
[01:43] <drucipher> spaces
[01:43] <gambl0re> hold on
[01:43] <gambl0re> header( 'Location: www.yahoo.com' );
[01:43] <drucipher> gambl0re: DONT
[01:43] <gambl0re> dont what
[01:43] <rza> http://www.yahoo.com
[01:43] <drucipher> just msg me man
[01:44] <gambl0re> but when i do that rza they treat it as a comment because of the double sl
[01:45] <Shai-Tan> gambl0re: show us your code....
[01:45] <NiteTine> you can have double slashes inside " " og ' '
[01:46] <NiteTine> *or
[01:46] <gambl0re> <?
[01:47] <gambl0re> $user = $_REQUEST['ESB username'] ;
[01:47] <gambl0re> $email = $_REQUEST['Email'] ;
[01:47] <gambl0re> $city = $_REQUEST['City'] ;
[01:47] <gambl0re> $fav_box = $_REQUEST['Favourite Boxer'] ;
[01:47] <gambl0re> $posts = $_REQUEST['Number of posts'] ;
[01:47] <gambl0re> mail( "myemail@hotmail.com", "Feedback Form Results",
[01:47] <gambl0re> ?
[01:47] <Shai-Tan> gambl0re: copy your file.php to file.phps and give us the url
[01:47] <gambl0re> i just pasted the whole code
[01:47] <gambl0re> what else do you want
[01:47] <Uitto> :)
[01:48] <gambl0re> its quite obvious nobody is gonna help me
[01:48] <gambl0re> thanks anyways
[01:48] <Shai-Tan> gambl0re: copy your file.php to file.phps and give us the url
[01:48] <spank> what a schmuck
[01:48] <Shai-Tan> sigh
[01:48] <sparkies> what a wanker
[01:48] <Shai-Tan> rza: for being an ass
[01:49] <Macca> rza; for being an ass
[01:49] <sparkies> rza: for being an ass
[01:49] <rza> why ?
[01:49] <Macca> rza: general asserie
[01:50] <rza> mmm
[01:50] <rza> i hate and love debian
[01:50] <drucipher> thanks
[01:50] <Macca> why's rza ?
[01:50] <Kruge> rza: for being an ass
[01:51] <rza> drucipher: i had nothing to do with your ban removal
[01:51] <rza> i just asked why you were banned
[01:51] <Shai-Tan> was a 60 second ban
[01:51] <drucipher> i was just thanking whoever unbanned me man
[01:51] <drucipher> just didnt really seem warranted, but lets not talk about it
[01:52] <sparkies> was a long 60seconds :p
[01:52] <sparkies> [09:44:06] * Shai-Tan sets mode: +b *!*otiose@*.hr.hr.cox.net
[01:53] <sparkies> [09:49:42] * Shai-Tan sets mode: -b *!*otiose@*.hr.hr.cox.net
[01:53] <sparkies> 60 seconds my ass
[01:53] <drucipher> come on man can we just drop it bro
[01:53] <sparkies> sure man, whatever you say bro
[01:53] <drucipher> if he's got somethin against me i really dont wanna keep talkin about it
[01:53] <sparkies> uh
[01:53] <sparkies> did you just say kick toy?
[01:53] <Kruge> You said that MAAAAAGIC WORD!
[01:53] <Kruge> KICK TOY!
[01:54] <sparkies> Ladies and Gentleman.. WE HAVE OUR VOLUNTEER
[01:54] <drucipher> wow, you guys need to share the party favors.... whats everybody smoking
[01:54] <Shai-Tan> drucipher: nothing against anybody, just when I ask somebody to paste some
[01:54] <drucipher> ok, understood... my apologies
[01:54] <sparkies> I didnt hear properly.. say it louder
[01:55] <drucipher> i'd ask shai tan for permission to respond candidly to that but i dont th
[01:56] <ebbtepid> how do i tell if a session_start() has already been called?
[01:56] <drucipher> $_SESSION[]
[01:56] <sparkies> see if the sessionid exists
[01:56] <Shai-Tan> ebbtepid: check for SID
[01:59] <drucipher> guess i should prepare to get kicked for this question, but whats the mos
[02:00] <Shadda> css.
[02:00] <sparkies> #css
[02:00] <drucipher> thanks
[02:00] <NiteTine> uhm
[02:00] <NiteTine> at the bottom of the page ?
[02:00] <NiteTine> sounds like html to me :P
[02:00] <Shai-Tan> Shadda: so, how can I include this xsl dynaically?
[02:01] <drucipher> see what i mean nite?
[02:01] <Shai-Tan> dynamically
[02:01] <Shadda> Shai-Tan, don't use xsl:include dynamically. Just include the template, and
[02:02] <Shadda> basically you want your XML to reflect the flow of your page
[02:03] <Shai-Tan> yes, I have the xml fine
[02:03] <Shadda> so, you have a template for your header, navigation, footer, etc
[02:03] <Shadda> then your xml looks like, <page><header/><left-nav/><fo
[02:03] <Shai-Tan> that is my goal, however those values never change
[02:03] <Shadda> then, those templates are called based on those nodes
[02:04] <Shadda> so if you want to display a different one based on a particular variable
[02:04] <Shadda> <page><header/><left-nav/><FOO/><footer/></
[02:04] <Shadda> and the 'FOO' template is called
[02:06] <Shai-Tan> so, what calls FOO?
[02:07] <Shadda> <xsl:template match="page/FOO">FOO was called</xsl:template>
[02:08] <rza> ok
[02:08] <rza> its just impossible to compile magickwand on debian default version
[02:08] <rza> i mailed the package maintainer and asked when he plans to upgrade
[02:08] <rza> year and a half old version
[02:15] <ntom> help
[02:15] <Shai-Tan> lots of mac advertisements on tv
[02:16] <ntom> http://paste.devpipe.com/2320 < --- the jpg is being saved as all is right,
[02:16] <ntom> ..i noticed the type of Location
[02:17] <ntom> ..typo*
[02:17] <ntom> ..Say no to typo3
[02:21] <ntom> its okay i got it sorted now, just some typo's
[02:24] <pristine> fuck i love you guys
[02:24] <pristine> i just want you to know that
[02:24] <sparkies> aw, so sweet
[02:24] <apathy--> I want to stick my fuck in you
[02:24] <sparkies> i need to buy a new phone
[02:24] <sparkies> ffs
[02:25] <apathy--> surely if you lost it at home it'll turn up ?
[02:25] <sparkies> i've looked everywhere
[02:30] * drucipher is now known as da-drew
[02:30] * da-drew is now known as the-drew
[02:32] <rza> anyone on gentoo?
[02:34] <NiteTine> ntom: you seem to be sending content headers in the thumbnail function, an
[02:35] <NiteTine> as far as i can see the thumbnail function doesnt output anything except t
[02:37] <the-drew> you can save it as a file
[02:38] <the-drew> imagecopyresampled
[02:38] <rza> gd ftw
[02:38] <globalCue> I'm drunk
[02:38] <globalCue> I also love you guya
[02:38] <NiteTine> he is saving it as a file
[02:38] <globalCue> guys
[02:38] <the-drew> pristine
[02:38] <globalCue> I love you
[02:38] <NiteTine> but he is also sending a header :)
[02:38] <the-drew> i love you brother
[02:39] <NiteTine> ..
[02:39] <globalCue> yea
[02:39] <globalCue> yea
[02:39] <the-drew> global, do you know what a CZP01 is?
[02:41] <ntom> NiteTine: i was sending the header thinking i had to to say what type of img i
[02:41] <the-drew> no sir
[02:41] <Shai-Tan> hmm, need a song with lotsa 'oomph'
[02:42] <apathy--> RATM - bombtrack
[02:42] <the-drew> butterfly kisses
[02:42] <Shai-Tan> hmm, oldie but a goodie
[02:42] <apathy--> all killer, no filler
[02:42] <Shai-Tan> quite fond of ratm
[02:42] <Shai-Tan> hmm, 10k/s
[02:42] <the-drew> thats weird... ghost of tom jones just came on whe nyou said that
[02:43] <the-drew> you're like the magic man, brother
[02:43] <the-drew> abra kadabra holmes
[02:44] <Shai-Tan> rza: if debian is hosed, how is ubuntu then?
[02:44] <NiteTine> imagejpeg tells GD what type of image to write :)
[02:44] <erf> ugh, I just had a load of god botherers wake me up
[02:44] <rza> Shai-Tan: no idea
[02:44] <rza> Shai-Tan: im not going to support debian versionws
[02:45] <NiteTine> if you are sending it to the browser you have to send the header :)
[02:45] <rza> its tons of extra work
[02:45] <Shai-Tan> debian is pitiful
[02:45] <rza> if someone wants to use it then he can compile hes own
[02:45] <rza> 6.3.0-5 is the minimum version
[02:45] <rza> 6.2.4 which debian ships is about two years old
[02:46] <NiteTine> unstable ftw!
[02:46] <rza> shouldnt be impossible for any admin to compile
[02:46] <rza> NiteTine: unstable has that version
[02:46] <rza> so its very "ftw"
[02:47] <the-drew> as in fuck the what
[02:47] <the-drew> preceded by a question mark?
[02:47] <erf> Wasn't the-drew banned?
[02:47] <rza> fuck the twat
[02:47] <the-drew> fuck twat wildy
[02:47] <the-drew> wildly
[02:48] <rza> erf: no idea
[02:48] * chillar_` is now known as chillmac
[02:48] <rza> ive banned only one person
[02:48] <rza> this far
[02:48] <apathy--> heh
[02:48] <apathy--> hundreds here
[02:48] <apathy--> potentially thousands
[02:48] <erf> I've banned 5 people from here I think
[02:49] <apathy--> I rarely ever set perm bans
[02:49] <rza> one hour timeout is usually enough
[02:49] <plod> ive banned apathy from my pants
[02:49] <plod> 1 hour timeout
[02:50] <apathy--> :/
[02:50] <apathy--> he teases me so
[02:50] <rza> maybe you can give him/her surprise sex
[02:50] <rza> some people call it "rape"
[02:51] <rza> but i think thats a bit negative word
[02:51] <plod> i agree
[02:52] <Shadda> actually
[02:52] <Shadda> I perm banned da-drew last year
[02:52] <Shadda> for spamming kiddy porn in here
[02:52] <rza> he queried me
[02:52] <rza> no idea what hes saying
[02:53] <rza> 12:46 <the-drew> i love you baby... DONT EVER CHANGE
[02:53] <rza> 12:46 <the-drew> PROMISE ME THAT SHIT
[02:53] <Shadda> i'm just gonna add this host to the bots
[02:53] <schnoodle> your in
[02:53] <Kruge> You're
[02:53] <Kruge> YOU ARE
[02:53] <apathy--> NO U
[02:53] <Kruge> EAT SHIT
[02:53] <rza> U 2
[02:54] <apathy--> mmm, now we're talking
[02:54] <rza> mmmm nutty..
[02:54] <Kruge> Pete
[02:54] <apathy--> my ban :'(
[02:54] <plod> fibrous
[02:54] <apathy--> Matt
[02:54] <Kruge> Know of any nice looking two level, tabbed CSS menus?
[02:54] <apathy--> Not personally, no
[02:54] <Kruge> Preferably free
[02:55] <Kruge> With the second level as a hover
[02:55] <rza> mmm hamburger or a steak
[02:56] <rza> lunch ->
[02:57] <schnoodle> steak with mushroom sauce
[02:57] <schnoodle> nothing beats it
[02:59] <ntom> NiteTine: point noted, amending script not
[02:59] <ntom> *now
[03:06] <chillmac> hey rza..talked to you yesterday, you remember?
[03:08] <noc`> run, rza
[03:08] <noc`> it's that damn salesman again
[03:08] <Two9A> Mornin', guys
[03:09] <noc`> sup 2
[03:09] <djKap0w> hello, all :)
[03:09] <ntom> hey imran
[03:10] <ntom> how is it going
[03:10] <Two9A> Yeah, not bad. 2 hours late getting to work
[03:10] <ntom> how long did the drive take u ?
[03:10] <Two9A> Don'tcha love it when the M1's closed
[03:10] <Two9A> 5 hours, with the 2-hour delay
[03:10] <djKap0w> if i had a php generated stylesheet, would browsers read it as css despite
[03:11] <ntom> ouch
[03:11] <ntom> what time u set of and what time u arrive?
[03:11] <Two9A> Set off at 0530, got in at 1030
[03:11] <Two9A> Getting lost in cheshire didn't help
[03:12] <ntom> shiiiiit. so when u setting of back home?
[03:12] <Two9A> Be leaving at 1700
[03:13] <apathy--> djKap0w: you can have a .php file as a stylesheet, if you output the corre
[03:13] <apathy--> header('Content-type: text/css'); or something like that
[03:13] <apathy--> www.php.net/header check the user contributed notes
[03:13] <djKap0w> OR MAYBE (UGH): <link rel="stylesheet" href="mystyle.PHP?.css">
[03:14] <djKap0w> danged caps
[03:14] <apathy--> you didn't really think that through did you
[03:14] <chillmac> hehe
[03:14] <ntom> Two9A: better ring ur mam, tell her to put the dinner on, get the bed made, an
[03:14] <Two9A> It'll be fine
[03:14] <apathy--> you'll be a long distance pro in not ime Two9A
[03:15] <apathy--> buddy of mine is a travelling salesman, covers thousands of miles a month
[03:15] <Two9A> I'll be doing a thousand a week, easy
[03:15] <Two9A> Just because I missed the turning today doesn't mean I'll do it tomorrow!
[03:15] <apathy--> he thinks nothing of jumping in his (company) toyota and driving anywhere
[03:15] <apathy--> which is useful, as his gf is in manchester in uni, and he's near me
[03:15] <Two9A> Not too bad
[03:16] <Two9A> Oh, by the wau. A50? Beautiful road
[03:16] <ntom> now i like the sound of free petrol !
[03:16] <Two9A> wau?
[03:16] <apathy--> tis only an hour and a little bit to mcr from here
[03:16] <apathy--> a50 is which ?
[03:16] <apathy--> the sname ?
[03:16] <apathy--> snake*
[03:16] <Two9A> Nah, that's tha A57
[03:16] <Two9A> A50 connects M6 to M1, via Derby and Ashbourne
[03:16] <Two9A> 90mph average
[03:16] <apathy--> ah, I see
[03:16] <apathy--> hee
[03:17] <Two9A> Motorway width, with none of the motorway signs
[03:17] <apathy--> I took my baby out for a razz the other day, bottled out at 130mph because
[03:17] <Two9A> Haw
[03:17] <apathy--> wish I cold go somewhere to test the bike's top speed :)
[03:17] <plod> 130 on two weels
[03:17] <plod> i think id shit my pants
[03:17] <Two9A> Donington perhaps?
[03:17] <Shai-Tan> apathy--: shepards bush :)
[03:18] <apathy--> plod: you'd love it :)
[03:18] <apathy--> Two9A: mm, may have to book some track time
[03:18] <chillmac> are there any docs about apc?
[03:18] <Two9A> I'd suggest silverstone, but it's a hike
[03:18] <chillmac> i would like to read something about it
[03:19] <ntom> Two9A: so if ur in late, how come their not working u like a dog and ur on irc
[03:20] <Two9A> Tom: Laid back here; the guy I'll be talking to is in a meeting right now
[03:20] <Two9A> Someone's birthday, so there's cake and muffins in the kitchen
[03:20] <djKap0w> just to clarify, so long as the php file sends the proper headers, the exte
[03:20] <apathy--> djKap0w: the php file HAS to be called .php to be run as php
[03:20] <ntom> Two9A: fucking laid back to me, if i was paying u that sort of money, no break
[03:21] <apathy--> and so theonly way to make it seem like a css file is to send a css header
[03:21] <Two9A> Hah
[03:21] <djKap0w> apathy: not really
[03:21] <plod> unless you change conf
[03:21] <plod> :)
[03:21] <plod> or use mod rewrite :D
[03:21] <apathy--> let's not get silly about this
[03:21] <Two9A> I've yet to find out what the work actually involves, so I may get worked lik
[03:21] <djKap0w> i just didnt want to change the cong
[03:21] <djKap0w> sonf*
[03:21] <Two9A> Pete. Silly is what we do
[03:21] <apathy--> name the css file blah.php, set the correct header, move on
[03:21] <plod> changing every css file to be parsed by php is a bit nuts
[03:22] <ntom> Two9A: yeah, be sure to let me know what you going to be up t o over there
[03:22] <djKap0w> so long as it's for just this one virtualhost, it's no biggie
[03:22] <Two9A> Looks like a CMS redevelopment, to be honest; their site is a bag of crap rig
[03:22] <apathy--> the issue is solved already djKap0w
[03:22] <Two9A> Windows-native CGIs, and s on
[03:22] <apathy--> go and implement it :)
[03:23] <djKap0w> i'm not trying to hate on your idea, it's much simpler to mine
[03:23] <djKap0w> i am just discusing altrernate approches
[03:23] <apathy--> why bother ?
[03:23] <djKap0w> um...
[03:23] <plod> for fun
[03:23] <apathy--> not only does my answer work, but it's also the besta pproach
[03:23] <ntom> Two9A: sounds horrid, and looks it, redev from scratch is the only way, php5,
[03:23] * djKap0w toes the dirt, "free exchange... of, ideas?"
[03:24] <Two9A> Free exchange, my dick
[03:24] <plod> your time is important to us
[03:24] <plod> $1.50 please
[03:24] * djKap0w goes back to lurking :(
[03:25] <erf> Imran, first day at work and you're already using IRC
[03:25] <Two9A> Si: First hour
[03:26] <ntom> Two9A: your going through ur oopsilon box ? can you not run irc direct from th
[03:26] <djKap0w> i was just wondering if any browsers were picky about file extensions
[03:26] <apathy--> ntom: if I were working elsewhere I'd prefer irc over ssh too ;)
[03:26] <apathy--> you never know who's sniffing what
[03:26] <ntom> true, but surely its just extra lag
[03:27] <apathy--> spoken like a true junkie :)
[03:27] <rza> uhmm
[03:27] <apathy--> Two9A's used to a bit of lag after turkey I'm sure
[03:27] <rza> back
[03:27] <apathy--> back and forth
[03:27] <apathy--> forth and back
[03:27] <djKap0w> if ssh adds lag, jo0 needs a bigger box
[03:27] <ntom> what, 1-3kb/sec in turkey/
[03:27] <Raggyman> has anyone ever worked with jpgrah and ajax to get it to work properly?
[03:28] <Two9A> Tom: It was pretty low
[03:28] <Two9A> But yeah, the lag's fine; 1-2 seconds before my typing appears
[03:28] <chillmac> rza, you remeber me of yesterday? i was talking about mysql and stuff
[03:28] <rza> is jpgraph gd based?
[03:28] <rza> chillmac: yes
[03:28] <ntom> Two9A: that does my head in that does
[03:28] <chillmac> i wondered if you could recommened a mysql book or something
[03:28] <Raggyman> rza: yeah..
[03:28] <rza> i dont know any mysql books
[03:28] <chillmac> so that i know by myself if i use innodb for this, and myisam for that etc
[03:29] <rza> ive never read one
[03:29] <chillmac> uhm..ok
[03:29] <Raggyman> basically get ?png back.
[03:29] <chillmac> :P
[03:29] <plod> theres a mysql tutorial book
[03:29] <plod> and certification books
[03:29] <chillmac> so any articles ?
[03:29] <plod> i bought both
[03:29] <plod> havent read more than 2 pages of either
[03:29] <rza> plod: sounds like a waste of money
[03:29] <chillmac> well, i can do mysql i think... at least most of what i need
[03:29] <ntom> anyone else think topgear was crap lastnight;/
[03:29] <plod> somebody elses
[03:29] <plod> :D
[03:29] <rza> ive learnt most of the stuff the hard way
[03:29] <apathy--> I only saw the hammond crash part
[03:30] <chillmac> its just about what to use to keep performance up and stuff like this
[03:30] <ntom> apathy--: whole show was crap, fuck all on it
[03:30] <plod> i liked topgear last night
[03:30] <apathy--> the crash bit was dead good
[03:30] <chillmac> rza: its the best way
[03:30] <plod> but i only switched on for hammond to be fair
[03:30] <Two9A> I quite liked the roadworks myself
[03:30] <Raggyman> ntom: nah missed it... would have been good..
[03:30] <Two9A> "the vital D5481" indeed
[03:30] <rza> learning C# was a walk in the park after java
[03:30] <ntom> good. .. ? i was fallingasleep, so fucking bored when i watched it
[03:30] <rza> so many similarities
[03:30] <plod> i forgot i watched about 3 episodes on uktv g2 or some rubbish
[03:31] <ntom> Two9A: that road is about 4-5 miles from my parents house in warwickshire
[03:31] <Raggyman> rza: wait till later in the year when the replacement for the Monaro comes
[03:31] <rza> Raggyman: "Monaro" ?
[03:31] <chillmac> btw..if i use mysql, and want to switch later to postgresql, is it hard?
[03:31] <chillmac> or can i just replace my class?
[03:31] <Raggyman> rza: where are you? if you are in the states will be the GTO...
[03:32] <rza> Raggyman: im in finland
[03:32] <Raggyman> rza: ah ok, you won't know about the Monaro then... beautiful beast... 5.7
[03:33] <Raggyman> rza: they had the monaro on top gear a few times..
[03:33] <Two9A> Raggyman: Why're you talking to rza
[03:33] <rza> Two9A: i was wondering the same
[03:33] <rza> i got a 1.4l engine in my car
[03:33] <rza> gas is a bit more expensive here
[03:33] <Raggyman> rza, two9A... umm sorry, rza should have been ntom..
[03:34] <Two9A> fail
[03:34] <apathy--> rza: is it more expensive than the uk ?
[03:34] <apathy--> we're at about $1.90usd/litre roughly
[03:34] <ntom> Raggyman: i'm a RS4 man myself, estate version, not the new one just come out,
[03:34] <rza> apathy--: 95 octane?
[03:34] <Raggyman> ntom: not bad.. :)
[03:34] <apathy--> actually, I use 97 or 99, but the standars is 95 I think
[03:35] <apathy--> prices are very similar
[03:35] <rza> apathy--: about the same prices here
[03:35] <rza> the prices have gone down a bti
[03:35] <rza> a bit*
[03:35] <apathy--> although 99 octane fuel is more ler litre, I get further on £5 of 99 than
[03:35] <Raggyman> I get 30mpg in the monaro on the motorway, sitting on 100mph..
[03:35] <apathy--> Raggyman: I get 47mpg at 130mph ;)
[03:36] <a17drian> what u get for the 99 apathy-- more fireworks :]
[03:36] <apathy--> I'd use rocket fuel if I could buy it ;)
[03:37] <Raggyman> ha!
[03:37] <Raggyman> :)
[03:37] <Raggyman> know some guys who use to run av gas in theirs..
[03:37] <ntom> how many mb in 1 byt?
[03:38] <Two9A> f
[03:38] <Shai-Tan> ntom: other way round
[03:38] <apathy--> how many meg in a byte ?
[03:38] <apathy--> :o
[03:38] <chillmac> someone can say something about innodb vs myisam? :)
[03:38] <apathy--> 1024 bytes to a kb, 1024 kb to a mb
[03:38] <ntom> got it
[03:38] <Two9A> 1048576, then
[03:39] <chillmac> i find alot of blog entries about it..but they dont seem to be trustable :
[03:39] <rza> innodb uses row level locking
[03:39] <rza> and myisam uses table level locking
[03:40] <iGGy> chillmac: Use MyISAM when what you really want is a flat text file. :)
[03:40] <ntom> ..meaning?
[03:41] <ntom> Two9A: 1.5 hours til S03E18 is done (Altantis)
[03:41] <rza> iGGy: youre talking about isam tables there
[03:41] <chillmac> i want performance even on alot of data
[03:41] <rza> i think myisam has improved alot
[03:41] <Two9A> 18's not bad
[03:41] <apathy--> I want an xvid of yesterday's top gear
[03:41] <chillmac> i always used myisam so far, thats why i dont innodb somehow ;P
[03:42] <chillmac> *dont trust
[03:42] <chillmac> and all i read is that innodb can handle real foreign keys, but its using
[03:43] <chillmac> i think im gonna read some more about
[03:44] <chillmac> what multistatement actions is, and if i really need rollback stuff and so
[03:46] <pegasos> hello. I am trying to add css styles to this line of code: echo "<td wid
[03:46] <pegasos> but It doesn't work. Can someone tell me what is wrong?
[03:47] <rza> oh boy,,
[03:49] <ntom> pegasos: google w3schools css
[03:51] <pegasos> ok.. it works I had to restart by browser :)
[03:52] <rza> you lose
[03:55] <Zendefera> hey guys isn't this sql code possible? select t1.col,t2.col.t3.col from t
[03:55] <rza> Zendefera: no
[03:55] <Zendefera> damn
[03:55] <rza> that looks ugly
[03:56] <Zendefera> yeah I know.
[03:56] <Zendefera> I need to get the data from one table's collumn, and match it up with two
[03:56] <rza> join
[03:57] <Zendefera> because I've been using select t1.col,t2.* from t1,t2 where t1.id=t2.id .
[03:57] <rza> join
[03:57] <Zendefera> that works well for two tables.
[03:57] <Zendefera> I'll look up join
[03:58] <Zendefera> thanks.
[03:58] <Zendefera> jesus, this sql query is going to be a mother of sql querries hehe :)
[03:58] <Zendefera> not only do I have to join 3 tables, bu I have to use union to mege two r
[03:59] <rza> Zendefera: http://paste.devpipe.com/2321
[03:59] <Zendefera> bbl
[03:59] <xtor> is curl usually faster than fopen() and fread() when sockets and scraping?
[03:59] <rza> xtor: are you using http?
[03:59] <xtor> yeah http
[03:59] <rza> curl is common url library so it doesnt suit to everything where fopen
[03:59] <xtor> fsocketopen() I should have said
[03:59] <rza> but what it does it does it faster
[04:00] <xtor> so the question is exacly HOW MUCH faster
[04:00] <rza> the answer is benchmark it
[04:00] <apathy--> you couldn't' measure it with a stopwatch I'd bet
[04:00] <xtor> and does curl close out unused resources more effeciently than fscoketopn() or
[04:00] <xtor> there must be some technical explanation behind it
[04:00] <rza> whats the theory behing what?
[04:00] <xtor> the theory behind curl being more efficient
[04:01] <xtor> Ive heard that but never understood specifically why
[04:02] <rza> looks like it destroys the given curl handle
[04:02] <xtor> After googling the answer is still vague with people writing things like "1-10
[04:02] <xtor> oh you mean it cleans up faster? Is that it?
[04:02] <rza> i mean i just checked the source quickly
[04:02] <rza> it destroys the associated resource
[04:03] <rza> propably closes the socket and cleans up
[04:03] <chillmac> xtor, just try it yourself. i think you wont notice a big difference as lo
[04:03] <xtor> well fsockopen probably doesnt leave memory holes either...or does it leave th
[04:04] <rza> no it doesnt
[04:04] <xtor> chillmac well since its gunna be put on a busy web site...I think I might noti
[04:04] <rza> "memory holes"
[04:04] <rza> you mean leaks memory?
[04:04] <chillmac> i see
[04:04] <xtor> ok not memory holes more like...resource holes
[04:04] <rza> whats a resource hole?
[04:04] <xtor> no not leaks memory that was wrong wording
[04:04] <Shai-Tan> speed holes
[04:04] <rza> sounds like a vagina to me
[04:04] <xtor> uhmm
[04:04] <rza> fsockopen uses php streams
[04:05] <xtor> like if your proggy forgets to send a command to close a TCP socket...but depe
[04:05] <rza> the handle is closed when request ends
[04:05] <rza> you can easily check that with valgrind
[04:06] <xtor> well Im jsut trying to get to the bottom of the hype surrounding curl, with re
[04:06] <xtor> seems like I never will
[04:06] <xtor> oh well
[04:06] <rza> you will
[04:06] <rza> just benchmark
[04:07] <xtor> benchmarking just gives me stats...not the reason behind it
[04:07] <apathy--> who cares about the reason ?
[04:07] <apathy--> you said it was for performance reasons
[04:07] <apathy--> so if it's faster, use it
[04:07] <apathy--> simple as
[04:08] <xtor> Im just the kinda person who needs to know whats under the hood, it aggravates
[04:08] <apathy--> heh
[04:08] <apathy--> it's your time :)
[04:08] <rza> xtor: then read the source
[04:09] <xtor> the source of the curl library? Hmmmmm....my time
[04:10] <rza> source of the curl extension vs streams
[04:10] <rza> or the source of the curl library if you want to dig deeper
[04:10] <rza> seems like youre a person who needs to know whats under the hood but doesnt wan
[04:11] <apathy--> oooh, burn!
[04:12] <rza> rza 1 - xtor 0
[04:12] <apathy--> I claim that point in the name of the #php ops
[04:12] <apathy--> #php 1 - xtor 0
[04:13] <xtor> okay
[04:13] <Two9A> Unlucky
[04:15] <sparkies> Two9A!
[04:15] <sparkies> Hows your first day going?
[04:16] <Two9A> Not bad; not doing much right now
[04:16] <Two9A> I got in 2 hours late, so :D
[04:17] <sparkies> oh fun
[04:17] <rza> sounds nice
[04:18] <rza> on the first day
[04:18] <sparkies> so you actually done any work yet?
[04:18] <Two9A> Not yet
[04:19] <sparkies> what was the advertised post?
[04:20] <rza> youre getting paid to sit?
[04:22] * sparkies smacks Two9A
[04:32] * SmilybOrg is now known as SmilyOrg
[04:34] * Prox\a is now known as Proximus
[04:34] <Zdrenga> guys, is there any way I can get the code of an online PHP file ?
[04:35] <thegreebo> yes, ftp
[04:35] <thegreebo> or ssh
[04:35] <thegreebo> unles syou mean, like, stealing ot from someone elses site, then no
[04:37] <Zdrenga> nope, I am not looking to steal. But I am looking to borrow and learn :)
[04:37] <rza> seems like currently you dont know even the basics
[04:38] <thegreebo> Zdrenga: if you wanna learn, google for a tutorial
[04:38] <Zdrenga> already did
[04:39] <ikbin> I have one type of xml file on my site that I want to compress. Is this some
[04:41] <NiteTine> www.php.net/zlib
[04:41] <NiteTine> ?
[04:41] <NiteTine> could be that that only supports reading now that i think about it ...
[04:41] <NiteTine> i think there is a compress stream filter
[04:43] <NiteTine> http://no.php.net/manual/en/filters.compression.php
[04:44] <ikbin> thank you.
[04:44] <ikbin> it seems like ob_start("ob_gzhandler"); is what I need.
[04:45] <ikbin> I'm not sure when to send my page headers, before the buffer?
[04:45] <NiteTine> if you want to compress the output to the browser ob_start would be right,
[04:45] <NiteTine> i thought you wanted to compress something to file :)
[04:46] <stutter_> yawn
[04:46] <stutter_> so tired.
[04:48] <ikbin> Ok, it works if I send the xml/attachment headers FIRST, then do the buffer.
[04:53] <Choller> can anyone a regex noob with a simple regular expression? I want to search
[05:05] <arpad> Choller: [\d\s] and [^\d\s]
[05:05] <Dj_Jurgen> how can i add elements to an already existing array?
[05:05] <arpad> $a[] = 'foo';
[05:05] <stutter_> ugh
[05:05] <stutter_> so i've got a script to generate a sudoku puzzle
[05:06] <stutter_> buuuttt
[05:06] <stutter_> if there are any collisions upon creation
[05:06] <stutter_> it goes into an endless loop
[05:06] <stutter_> :O
[05:06] <stutter_> hah
[05:06] <Choller> yes yes thanks arpad
[05:11] <stutter_> http://paste.devpipe.com
[05:11] <stutter_> http://paste.devpipe.com/2322
[05:11] <stutter_> god damnit
[05:11] <stutter_> i didn't think about backgracking.
[05:12] <Dj_Jurgen> arpad: what if i have both key and value?
[05:13] <rza> Dj_Jurgen: $a['key'] = $value;
[05:13] <rza> Dj_Jurgen: php.net/array
[05:13] <NiteTine> $a[$key] = $value;
[05:13] <xtor> is there a standart _SERVER[] or _ENV[] variable that will spit out in cgi the
[05:13] <NiteTine> same thing though
[05:14] <xtor> I cant find any documentation for getallheaders() that even gives a standard o
[05:15] <xtor> not PHP_SELF right?
[05:18] <osearth> i have 3 dirs like /down/user/dir/file.txt
[05:18] <osearth> they are all set chmod 777, but when i try to read file.txt with apache it
[05:19] <arpad> xtor: no but you can get bits of it from $_SERVER
[05:20] <stutter_> hmmmmmmmm
[05:21] <Two9A> Arse
[05:21] <arpad> Cuntflaps
[05:21] <rza> osearth: what about the parent dirs?
[05:21] <osearth> ya all the way down
[05:22] <Two9A> Hour-long meeting with the boss, whee
[05:22] <rza> osearth: how are you checking?
[05:22] <osearth> ssh in and ls -lsa from root
[05:22] <rza> osearth: i mean in the code
[05:24] <osearth> is_readable()
[05:24] <rza> osearth: ls -lR /down
[05:24] <rza> pastebin the output
[05:24] <osearth> i couldn't read it so i tried exec(cp)'ing it to /tmp
[05:25] <rza> what?
[05:25] <rza> if you couldnt read it how do you think it will copy?
[05:25] <osearth> like exec("cp $dir/$file /tmp/$file");
[05:25] <rza> osearth: www.devpipe.co
[05:25] <rza> m
[05:25] <rza> put the code there
[05:26] <osearth> the output is about 2 megs
[05:26] <rza> the code?
[05:26] <rza> i wasnt asking for the output
[05:26] <rza> i was asking for the code
[05:29] <osearth> http://paste.devpipe.com/2323
[05:29] <osearth> the code is in a function
[05:29] <rza> and..?
[05:30] <osearth> it's to spread out to make sense in a paste
[05:31] <osearth> darnit. i guess there's no obvious known error with apache or php that caus
[05:31] <rza> do you check with if( file_exists ?
[05:32] <rza> and are you sure youre trying to read from the correct path?
[05:32] <osearth> very good ideas
[05:32] <osearth> i know the file exists but maybe the way i'm passing it is converting some
[05:33] <Two9A> Oh look, it's the cc# database
[05:33] <rza> osearth: echo the filename
[05:33] <rza> copy it and ls -l filenamewithpathhere
[05:33] <rza> Two9A: access please
[05:33] <xtor> arpad if I want to get "bits of it from _SERVER" I can probably concatenate ev
[05:34] <arpad> xtor: pretty much..
[05:35] <xtor> Now if the line is something like this: $crap = getallheaders(); $crap = arra
[05:35] <xtor> thats just _SERVER[PHP_SELF] right?
[05:36] <arpad> no, the get path isn't even in there
[05:36] <arpad> getallheaders() just returns the request headers
[05:36] <arpad> accept, user-agent, etc
[05:36] <xtor> request headers means the URL portion of a POST or GET click?
[05:37] <xtor> oh wait...damn I was wrong
[05:37] <arpad> no. have a look at the http spec
[05:37] <xtor> would I find its exact output in apache syntax? Im trying to understand what t
[05:37] <arpad> what then happens to $crap?
[05:38] * Two9A begins setting up a Linux VM on his work box
[05:38] <erf> ...
[05:39] <xtor> $crap goes through all sorts of processes, evidently $crap is an array. And I
[05:40] <arpad> xtor: http://php.net/apache_request_headers
[05:40] <Two9A> Question. Why are all the computers in the company on 129.1.0.0/16
[05:41] <erf> Because it rocks
[05:41] <poci_> standard!!!
[05:41] <Two9A> d
[05:42] <ntom> Two9A:
[05:42] <ntom> u get my msg/
[05:42] <ntom> got the link by any chance to the autographink zip ?
[05:42] <Shai-Tan> Two9A: ignore my last message
[05:43] <Two9A> Tom: I'll see if I've still got that zip around
[05:43] <xtor> if (isset($crap["referer"])) if (isset($crap["user-agent"])) if (isset($crap["
[05:43] <xtor> thanks arpad
[05:43] <ntom> Two9A: cool
[05:44] <Two9A> Shai-Tan: Never got it
[05:44] <Shai-Tan> Two9A: no, its just an annoying thing I say to people... usually I just le
[05:45] <rza> Two9A: ignore my last message
[05:49] <ox2> hi
[05:49] <ox2> what are good IDE's for php to start with?
[05:50] <rza> notepad
[05:50] <Shai-Tan> vi(m)
[05:50] <ox2> I'm searching for something like visual web developer but for php
[05:50] <Shai-Tan> ahh, vim
[05:50] <ox2> notepad: to basic for me, I would like some intellisense
[05:50] <rza> kate
[05:50] <Timby> I write my php stuff in notepad :(
[05:50] <preinheim> ultraedit
[05:50] <rza> Kate Advanced Text Editor
[05:51] <preinheim> Active state's Komodo
[05:51] <Cdogg> how is that?
[05:51] <ox2> Shai-Tan: I would rather stick to emacs than to vi, but still I would prefer a
[05:51] <rza> Timby: maybe your php stuff is simple?
[05:51] <Cdogg> i read about it was meaning to check it out
[05:51] <rza> heh, #darknet
[05:51] <Timby> yeah im only starting off
[05:52] <Timby> well actually I write it in dreamweaver 8, but it doesnt help out all that mu
[05:52] <ox2> preinheim: ultraedit might do it
[05:52] <preinheim> I'm a big fan of UltraEdit
[05:52] <ox2> Prainheim: does it have intellisense?
[05:52] <osearth> i use zend ide
[05:52] <preinheim> I used it for a long time before i bought Zend Studio
[05:52] <preinheim> what's intelisense, isn't that what microsoft calls their mouse software?
[05:53] <ox2> prainheim: it's that it autocompletes commands, classes, whatever
[05:53] <Shai-Tan> hmm, 1:00am... I wonder if swmbo is feeling frisky
[05:53] <ox2> preinheim: also autocompletion of syntax
[05:53] <rza> Shai-Tan: yak...
[05:53] <osearth> 1am? wtf timezone is that
[05:53] <floatnsin> hello
[05:53] <preinheim> it might, i haven't used the most recent versions, it was just syntax hig
[05:53] <Cdogg> speaking of Komodo did you guys hear about the emaculate conception of the ko
[05:54] <ox2> preinheim: ok
[05:54] <ox2> Timby: is dreamweaver still developed?
[05:54] <Cdogg> yes
[05:54] <Cdogg> dw8 now
[05:54] <ox2> Timby: is adobe developing that under a new name?
[05:54] <Cdogg> no
[05:54] <ox2> Cdogg: ok
[05:55] <ox2> I'm really looking for a big featurefull IDE. I know Eclipse for Java
[05:56] <ox2> I like Visual Web Developer for ASP
[05:56] <rza> you can get eclipse for php
[05:56] <Cdogg> but did anyone here bout the komodo dragon that has gotten pregnant w/o being
[05:56] <ox2> Now I'm searching for something simular for php
[05:56] <Cdogg> eclipse for php is oki
[05:56] <ox2> rza: true
[05:56] <Cdogg> zend is much better
[05:56] <ox2> Cdogg: ok, I will look into zend
[05:56] <Cdogg> im going to try komodo now
[05:56] <Cdogg> i hear its the bee's kees
[05:56] <Cdogg> knees
[05:56] <ox2> Cdogg: how about zend compared to dreamweaver?
[05:57] <Cdogg> dunno i like both tbh
[05:57] <Shai-Tan> ox2: as an ex-zend employee, I should tell you, its rubbish
[05:57] <Timby> ox2 couldnt tell you mate
[05:57] <ox2> Shai-Tan: hehe, ok
[05:57] <rza> Shai-Tan: why did you leave zend?
[05:57] <Cdogg> sexual harrasment
[05:57] <Shai-Tan> rza: boredom
[05:58] <osearth> the zend ide i use has major problems that look mighty easy to fix. and it'
[05:58] <rza> im currently relatively bored
[05:58] <rza> i dont feel like my job is "challenging"
[05:58] <Shai-Tan> oh, and there was that thing with the Neu Reich
[05:58] <osearth> is that a sex toy?
[05:58] <Shai-Tan> osearth: yes, for jews
[05:59] <osearth> sounds dirty.. *goes to google image search*
[05:59] <rza> "ein folk, ein reich, ein fuhrer"
[05:59] <Shai-Tan> indeed, MS just loves that
[05:59] <osearth> my favorite part of zend ide is the ftp save and list. but it's soo broken
[06:00] <Cdogg> what the auto upload?
[06:00] <rza> the best thing about work day is going home
[06:00] <rza> Shai-Tan: what state are the docs now?
[06:00] <Shai-Tan> rza: soon as Sara's book gets here, I am going to concentrate some time on
[06:00] <rza> Shai-Tan: that sounds good
[06:00] <Shai-Tan> rza: well, Im about to tell the docs cunts to fuck off :(
[06:01] <rza> problems again?
[06:01] <Shai-Tan> cant get a fucken straight answer out of them, they are remodelling the fo
[06:02] <schnoodle> Shai-Tan, is that Pollita's book you are talking about ?
[06:02] <osearth> good practice!
[06:02] <rza> Shai-Tan: no
[06:02] <Shai-Tan> schnoodle: yes
[06:02] <rza> Pollita = sara?
[06:02] <osearth> osearth: maybe
[06:02] <schnoodle> ahh sweet, how much is it ?
[06:02] <Shai-Tan> rza: yes
[06:02] <rza> ah ok
[06:02] <Shai-Tan> rza: pollita or SaraMG
[06:02] <rza> schnoodle: check amazon
[06:02] <rza> i got mine from my wishlist
[06:02] <Shai-Tan> schnoodle: $80.00 bucks here
[06:03] <schnoodle> ahh cool
[06:03] <schnoodle> i still need a steady job so i can buy all the books i want
[06:03] <BlueEagle> shai-tan: Call it job security.
[06:03] <schnoodle> im still wanting to get Davey's book
[06:04] <Shai-Tan> rza: in the next few days, I will put it to the docs crew, that if they ca
[06:04] <rza> hmm
[06:04] <Cdogg> Extending and Embedding PHP?
[06:04] <rza> im starting to wonder if we should stay out from pecl
[06:04] <Alpha232> whoohoo day off!
[06:04] <Shai-Tan> Cdogg: yes
[06:04] <rza> and make own pecl channel
[06:05] <rza> and documentation
[06:05] <Cdogg> neat
[06:05] <Shai-Tan> rza: thats another option, but it really needs to be in pecl I think
[06:05] <schnoodle> shai, you end up doing anything for throwdown or not ?
[06:05] <Alpha232> rza: its a fickle pecl
[06:05] <rza> Shai-Tan: we could make a channel
[06:05] <Shai-Tan> schnoodle: nossir
[06:05] <rza> Shai-Tan: this doc stuff is getting ridiculious
[06:06] <Shai-Tan> rza: pecl.dev?
[06:06] <rza> like they are trying to make contributing hard
[06:06] <Shai-Tan> rza: s/hard/fucken impossible
[06:06] <Cdogg> whats the situation?
[06:06] <Cdogg> if you dont mind
[06:06] <rza> Cdogg: ive made a new imagemagick extension
[06:06] <rza> and we are having a bit of a problem with docs
[06:06] <rza> seems like the format constantly changes
[06:07] <Alpha232> hmm should i put up a post on rentascammer or post a bounty for a project
[06:07] <rza> Alpha232: what kinda budget?
[06:07] * easyoh is now known as eAsYoH
[06:07] * Alpha232 pulls lint out of his pocket...
[06:07] <Cdogg> uh huh
[06:08] <rza> Cdogg: http://php-dev.mine.nu/tests/
[06:08] <Alpha232> lol
[06:08] <rza> http://phpurge.com/magickshow/
[06:08] <Alpha232> actually i think the code is mostly writen but it just don't work for me..
[06:09] <Cdogg> well what is it Alpha232?
[06:09] <Cdogg> rza neat!
[06:10] <ox2> hmm, Dreamweaver seems to be for designers and zend for coders
[06:10] <ox2> there is also phped
[06:10] <Alpha232> Cdogg: a database logger
[06:10] <ox2> zend doesn't seem to have a database client
[06:10] <Alpha232> for apache
[06:10] <rza> i got free license for phped some version
[06:11] <rza> i think
[06:11] <rza> no
[06:11] <rza> it was phpedit
[06:11] <Cdogg> database logger for apache?
[06:11] <Shai-Tan> rza: also, the docs cannot be submitted, till the extension is in pecl
[06:11] <Cdogg> as in log visits to db?
[06:11] <Cdogg> or
[06:12] <Cdogg> log access to db?
[06:12] <ox2> I would really like something like visual web developer for php. Some IDE that
[06:12] <Alpha232> sorry i dozed off at the computer
[06:12] <Cdogg> check zend then
[06:12] <Cdogg> it has those things
[06:12] <Martin_^> is there some global key i can set to make php output each print/echo oper
[06:13] <Cdogg> dw has a few
[06:13] <Martin_^> right now all my stuff is on one line
[06:13] <schnoodle> ox2, microsoft do have a php editor
[06:13] <ox2> Cdogg: ok, thanks
[06:13] <Cdogg> really?
[06:13] <rza> Martin_^: put \n at the end of the lines
[06:13] <ox2> schnoodle: really?
[06:13] <Shai-Tan> Martin_^: echo 'foo'."\n"; echo 'bar'."\n";
[06:14] <Cdogg> schnoodle whats the anme?
[06:14] <schnoodle> im just trying to remember it, just looking for the url
[06:14] <Martin_^> yeah i know, but isnt there some global setting i can use so that i dont h
[06:14] <Martin_^> its annoying
[06:14] <schnoodle> VS.php
[06:15] <schnoodle> http://www.jcxsoftware.com/vs.php <-- there
[06:15] <preinheim> <pre>
[06:15] <rza> Martin_^: no
[06:15] <rza> there is not
[06:15] <Two9A> Ingesting far too much sugar with these cakes lying around
[06:15] <rza> HOME ->
[06:15] <Cdogg> hrmm
[06:15] <Cdogg> schnoodle have you tried this?
[06:16] <schnoodle> Cdogg, no sir. Im to addicted to Eclipse :)
[06:16] * Cdogg watches his pretty install of vs 2k5 goto shit
[06:16] <ox2> I just read, that microsoft and zend are going to cooperate in future
[06:16] <xtor> sugar --> diabetes --> obesity --> early death
[06:16] <xtor> enjoy the cake
[06:16] <Cdogg> yea im going to try komodo now
[06:16] <Two9A> Diabetes, whoo
[06:16] <Shai-Tan> ox2: old news
[06:16] <schnoodle> ox2, yes they are building a new windows php build. With optimizations an
[06:17] <schnoodle> Komodo looks REALLY nice, although i cant handle programs with heaps of a
[06:17] <Cdogg> i agree
[06:17] <ox2> schnoodle: did you try that visual studio addon?
[06:17] <Cdogg> i like having code suggest in an ide
[06:18] <schnoodle> ox2, no.
[06:18] <ox2> schnoodle: it probably lacks comunity
[06:18] <Cdogg> only thing i really like
[06:18] * eAsYoH is now known as easyoh
[06:18] <ox2> ok
[06:26] <Cdogg> oo
[06:26] <Cdogg> komodo's rx toolkit
[06:26] <Cdogg> is nice
[06:28] <BlueEagle> Is there an easy way to check if a given variable exists in a class? Ie.
[06:28] <feti> blue: it'll be hardcoded, so just look
[06:28] <feti> you shouldn't define them in real-time
[06:28] <feti> and in php5 you can't
[06:29] <Shai-Tan> BlueEagle: get_class_vars
[06:29] <BlueEagle> feti: I'm attempting to write a generic config-file-reader function and w
[06:30] <BlueEagle> shai-tan: hmm.. will it work on $this?
[06:30] <BlueEagle> shai-tan: ie. get_class_vars($this);
[06:30] <Shai-Tan> dunno, try it :)
[06:31] <BlueEagle> PHP Notice: Object to string conversion in..
[06:32] <BlueEagle> $carr=get_class_vars(get_class($this)); worked :)
[06:32] <BlueEagle> thanks shai
[06:33] <sp0n9e> BlueEagle: you can use __set, __unset, __isset and __get to overload non-exi
[06:33] <Cdogg> komodo is nice
[06:33] * sp0n9e just putty'd in
[06:34] <Cdogg> if i could get it to auto close my braces and brackets
[06:34] <Cdogg> ill try it for a week
[06:34] <twentynin> howdy folks
[06:34] <Cdogg> how much is it 250?
[06:34] <Cdogg> yup
[06:34] <twentynin> i just installed php 5.2 on my osx box to debug some things... i just not
[06:35] <rza> im back
[06:35] <sehh> hey people
[06:35] <rza> anyone missed me?
[06:35] <sp0n9e> twentynin: short_open_tags
[06:35] <rza> sehh: hey you
[06:35] <Cdogg> i did
[06:35] <sp0n9e> twentynin: and it's defaulted off since php5.0.0
[06:35] <BlueEagle> sp0n9e: PHP5
[06:35] <BlueEagle> sp0n9e: PHP4
[06:35] <rza> twentynin: you should use <?php
[06:35] <BlueEagle> not 5
[06:35] <sehh> q: is it possible to do sorting like: 1,2,3...10,11,12? (instead of: 1,10,2,12
[06:35] <sp0n9e> oh, php4?
[06:36] <sp0n9e> that's shit
[06:36] <sp0n9e> sehh: php.net/sort
[06:36] <sp0n9e> either that, or a related function
[06:36] <BlueEagle> sp0n9e: It's what my host runs :(
[06:36] <twentynin> fair enough
[06:36] <sehh> sp0n9e, tried that, but didn't do the trick :(
[06:36] <sp0n9e> sehh: you might have to convert, it's probably using "1" and "10"
[06:36] <sp0n9e> try casting to an int as you put it in the array
[06:36] <sehh> hmm i'll give that a try thanks
[06:36] <sp0n9e> $foo[] = (int) $bar;
[06:37] <sp0n9e> that'll make it come out right
[06:37] <sehh> not exactly optimal... but i'll try
[06:37] <sp0n9e> well, where's it coming from?
[06:37] <stutter_> ;o
[06:38] <thegreebo> sehh: use natsort()
[06:38] <sehh> thegreebo, i'll try that as well, thanks
[06:38] <stutter_> there's a sort function which lets you call your own function for copmaris
[06:38] <sehh> WOW!!
[06:39] * sp0n9e still thinks ints should be ints and strings should be strings
[06:39] <sehh> thegreebo, thanks man, that did the trick!
[06:39] <rza> sehh: now unzip..
[06:39] <ox2> I find this PHP-IDE comparison article interesting: http://www-128.ibm.com/deve
[06:39] <rza> its time to pay for the help
[06:39] * Two9A sits back some
[06:40] <sp0n9e> ox2: that's outdated, PHPIDE no longer exists as it's been renamed PDT
[06:40] <Two9A> What's the pants obsession today, rza
[06:40] <rza> Two9A: no idea
[06:40] <rza> i didnt get into my girls pants
[06:40] <rza> and im angry
[06:40] <Two9A> There is that
[06:40] <rza> and frustrated
[06:41] <Two9A> Hm, lag's noticeably better now
[06:41] <wonderboy> How do I set two different top-margins? one for FF, the other for IE?
[06:41] <wonderboy> oops CSS
[06:41] <rza> wonderboy: #css
[06:41] <ox2> sp0n9e: aha, thanks
[06:42] <sp0n9e> ox2: if you want to evaluate PDT, zend rolls "all-in-one" distributions with
[06:42] <sp0n9e> and there's an xdebug plugin too
[06:42] * sp0n9e can't wait until it's made part of pdt
[06:42] <rza> xdebug ftw!
[06:43] <rza> one thing i dislike
[06:43] <rza> the enforced var_dump output
[06:43] <Cdogg> hrmm
[06:43] * Cdogg starts getting sexy w/ komodo
[06:44] * sp0n9e <3 PDT with subclipse
[06:44] <sp0n9e> isn't komodo based on eclipse?
[06:44] <syc> i don't see dreamweaver on there
[06:44] <syc> incomplete article!
[06:44] <sp0n9e> syc: dreamweaver sucks
[06:45] <syc> i use dreamweaver
[06:45] <sp0n9e> you suck
[06:45] <ox2> sp0n9e: nice, ... but doesn't PDT plaugin for eclipse lack functionality compar
[06:45] * syc cries
[06:45] <sp0n9e> ox2: what functionality?
[06:45] <apathy--> I just use notepad with 0s and 1s
[06:45] <syc> Esaj: hold me.
[06:45] <preinheim> excellent use of the transitive property there sp0n9e
[06:45] * Esaj holds syc
[06:45] <sp0n9e> ox2: you can use the zend debugger with pdt
[06:45] <sp0n9e> and everything else is a seperate plugin made by someone other than zend
[06:45] <syc> Esaj: cup it, don't pinch.
[06:45] <ox2> sp0n9e: I don't know, I was just searching for a good IDE for PHP (like Visual
[06:45] <sp0n9e> so subversion support is better
[06:45] * Esaj bites syc
[06:46] <ox2> sp0n9e:aha, interesting
[06:46] <sp0n9e> you don't have to trust zend to do everything
[06:46] <sp0n9e> and eclipse is *so* much more lightweight than zend
[06:46] <Cdogg> yea komodo is eclipse based
[06:46] <Cdogg> i think i read that in php architech
[06:46] <ox2> sp0n9e: so.., you would suggest me trying eclipse rather then zend studio?
[06:46] <syc> i use eclipse when i run larger projects
[06:46] <sp0n9e> even though eclipse is java, it uses gtk to power the gui and that shaves a
[06:47] <syc> but for all my simple projects, i just use dreamweaver.
[06:47] <sp0n9e> ox2: eclipse/komodo are nice and stable
[06:47] <Cdogg> syc i agree w/ ya
[06:47] <Cdogg> dw is a great app
[06:47] <ox2> sp0n9e: thanks for suggestions
[06:47] <sp0n9e> i can't do my work without subversion support, it's how i get my code to the
[06:47] <Cdogg> as much hell as the web devel communitity has put it through
[06:48] <syc> welp, time to go shovel the snow again.
[06:48] <syc> stupid snow.
[06:48] <Cdogg> http://news.nationalgeographic.com/news/2006/12/061220-virgin-dragons.html
[06:48] <feti> <3 the snowblower :D
[06:48] <Cdogg> DNA tests confirmed Flora was the sole parent, says Chester Zoo curator of lo
[06:48] <sehh> q: is there a way to re-assign all the keys of an array? after my natsort() fu
[06:48] <sp0n9e> sehh: array_values
[06:48] <sehh> thanks man
[06:49] <ox2> sp0n9e: what are the main differences between SPD and zend Studio? (and Komodo?
[06:49] <sp0n9e> SPD?
[06:49] <sp0n9e> dreamweaver has no debugging capabilities for php afaik
[06:49] <Cdogg> sp0n9e nope
[06:49] <ox2> sp0n9e: sorry, PDT
[06:50] <Cdogg> just try them all
[06:50] <sp0n9e> all of them have trials
[06:50] <Cdogg> yup
[06:50] <ox2> Cdogg: ok, might be best to do
[06:50] <sp0n9e> there's a lot of personal caveats that will drive you to one of them.
[06:50] <Esaj> apathy--!!!!!!!!!!!!!!!!!!!!!!!
[06:50] <Cdogg> they all take a little bit of getting used to
[06:50] <sp0n9e> and for those who hate them all, there's vim
[06:50] <Esaj> PMT?
[06:51] <Two9A> teh pete
[06:51] <ox2> Cdogg&sp0n9e: thx for suggestions, ... I'm gonna try zend, PDT, komdo, dreamwea
[06:51] <NiteTine> or EditPlus2 <3
[06:51] * sp0n9e laughs at pete
[06:51] <apathy--> TEH imran!
[06:51] <Esaj> yay :D
[06:51] <apathy--> editplus ftw
[06:51] <apathy--> hey jase
[06:51] <Two9A> Pretty cool how I've been at work over 4 hours and done nothing
[06:51] <NiteTine> haha
[06:51] <Esaj> hey
[06:51] <Two9A> I could live with keeping this job, especially at 200/day
[06:52] <NiteTine> last friday i came in 2 hours too late, had lunch and left 2 hours before
[06:52] <Esaj> Two9A: are you a sysadmin?
[06:52] <Two9A> Esaj: webdev
[06:52] <erf> £200 a day?
[06:52] <Esaj> Two9A: does your employer not care?
[06:52] <Two9A> Si: srsly
[06:52] <erf> That's like £1k a week
[06:52] <Two9A> My employer hasn't really given me much yet
[06:53] <Esaj> I get told off for being even 2 minutes late in the morning
[06:53] <feti> esaj: sounds like you work for a jerk ;(
[06:53] <feti> 2 minutes isn't late
[06:53] <erf> £4k a month, £48k a year
[06:53] <Two9A> 2 hours is late
[06:53] <Esaj> feti: yeah, too bad I'm terminating my contract with them
[06:53] <feti> 2minutes is "Oops, there was snow on the roads, I had to go slow"
[06:53] <Two9A> I know, I was 2 hours late
[06:53] <ox2> sp0n9e: I only need pdt-0.7.0.I20070111_debugger-0.1.7-all-in-one-win32.zip for
[06:53] <feti> esaj: good call
[06:53] <_sawyer> hello everyone
[06:53] <erf> Imran, how was you 2 hours late?
[06:54] <apathy--> feti: I once got asked to work 10 mins late one day after being 10 mins la
[06:54] <ox2> sp0n9e: or can you suggest me some additional stuff to install?
[06:54] <_sawyer> !rules
[06:54] <NiteTine> lol
[06:54] <NiteTine> apathy--: thats just silly
[06:54] <feti> apathy: haha
[06:54] <Two9A> Si: Got lost in cheshire, then the M1 was shut down
[06:54] <NiteTine> if you ask me
[06:54] <apathy--> guys, wait for the best bit..
[06:54] <Cdogg> 10 minutes?
[06:54] <apathy--> but, the week before, I had worked 3 hours of my week off (set aside for r
[06:54] <Cdogg> it takes me 10 minutes to close all my applications
[06:54] <erf> Imran, I say you sleep on my sofa for 3 months :P
[06:54] <apathy--> and said nothing or asked for being paid for it
[06:54] <sparkies> Two9A, hows it going?
[06:54] <_sawyer> righteous rules
[06:54] <Two9A> sparkies: Not bad
[06:54] <erf> Saves like 2 hours of your trip
[06:54] <NiteTine> haha
[06:54] <sparkies> Two9A, done any work yet?
[06:55] <_sawyer> i'm using MediaWiki and the php creates the html file but the IO isn't buff
[06:55] <Two9A> sparkies: Thinking about it
[06:55] <_sawyer> so you only see the file when the PHP is done
[06:55] <sparkies> :/
[06:55] <Two9A> Got my linux vm installing
[06:55] <_sawyer> what controls buffered IO in PHP and does anyone know the problem i'm talki
[06:55] <rza> _sawyer: you did read the rules?
[06:55] <stutter_> what the fuck
[06:55] <Esaj> apathy--: so did you storm out in a fiery rage?
[06:55] <_sawyer> yes, i think i followed them pretty well
[06:55] <sp0n9e> _sawyer: you'd have to use php.net/fopen + php.net/fwrite ...but buffering i
[06:56] <stutter_> like i have some kind of rss aggregator in my fucking head to know what yo
[06:56] <apathy--> Esaj: I sent out an extremely frosty email
[06:56] <stutter_> are you retarded?
[06:56] <apathy--> and received an apology
[06:56] <Esaj> apathy--: nice one
[06:56] <_sawyer> stutter_> i asked about buffered IO in php (OR if anyone knows specifica
[06:56] <Cdogg> apathy my email would have been along the lines of what edward norton says to
[06:56] <Cdogg> about the gas powered machinegun
[06:57] <Cdogg> in fight club
[06:57] <thegreebo> ha
[06:57] <_sawyer> stutter-, and i've explained that my problem isn't X in MediaWiki, but buf
[06:57] <apathy--> I don't' recall it tbh
[06:57] <_sawyer> spooky, is there a global command or variable in PHP that controls it?
[06:57] * feti changes topic to '!rules :: www.php.net/manual :: Sounds like somebody's got a case
[06:57] <_sawyer> instead of rewriting functions?
[06:57] <Kruge> an armalite ar-10 carbine gas-powered semi-automatic weapon
[06:58] <sp0n9e> feti: nice.
[06:58] <Cdogg> http://en.wikiquote.org/wiki/Fight_Club
[06:58] <Cdogg> search for gas
[06:58] <Cdogg> you will find whole thing :)
[06:58] <ox2> sp0n9e: could you suggest me what to install to getting started with PDT?
[06:58] <thinwork> Reasons To Buy a Mac - Reason #38: Filemaker Pro is 1000x better than MS A
[06:58] <preinheim> PHP generally uses tiny writes to give apache data, which triggers ineffi
[06:58] <Two9A> Ooh, the user and email-address database table
[06:58] <sp0n9e> ox2: zend had a pdt all-in-one
[06:58] <sp0n9e> ox2: zend.com/pdt
[06:58] <erf> Someone go to all of my lectures for the wek
[06:58] * Two9A nabs
[06:58] <thegreebo> http://www.imdb.com/title/tt0137523/quotes < 'bout halfway down
[06:58] <erf> week*
[06:58] <ox2> sp0n9e: I got pdt-0.7.0.I20070111_debugger-0.1.7-all-in-one-win32.zip, not sure
[06:58] <Two9A> Si: Do my work for the week
[06:58] <erf> Imran, ok
[06:58] <sp0n9e> nothing, just double-click on eclipse.exe
[06:58] <thegreebo> "And this button-down, Oxford-cloth psycho might just snap, and then stal
[06:58] <erf> You seem to be doing a whole lot of fuck all
[06:58] <sp0n9e> (eclipse doesn't have an installer)
[06:59] <_sawyer> preinheim, thanks. last question, ob?
[06:59] <Cdogg> yes
[06:59] <Cdogg> thats the quote
[06:59] <Two9A> :D
[06:59] <preinheim> output buffering
[06:59] <ox2> sp0n9e: thanks, but before didn't you mention some addons, that you are waiting
[06:59] <preinheim> you can use ob_start() to start it manually, or theres a settign in php.i
[06:59] <Cdogg> but for one second think about saying that to some one
[06:59] <Cdogg> would take such balls
[07:00] <sp0n9e> ox2: well, the xdebug support is attached to a bug report...if you have zend
[07:00] <Cdogg> you would have to look to kill too
[07:00] <sp0n9e> ox2: other than that, subclipse (subversion for eclipse) is from subclipse.t
[07:00] <_sawyer> preinheim, checking php.ini as we speak
[07:00] <sparkies> Two9A, what do you mean, "im thinking about it"
[07:00] <_sawyer> found it
[07:01] <ox2> sp0n9e: yep, I will probably install the subversion too, I used that a lot in t
[07:02] <sp0n9e> ox2: there's 2 debuggers that work with php
[07:02] <Two9A> sparkies: I've found that the boss doesn't have any firm ideas for what he wa
[07:02] <ox2> sp0n9e: xdebug is stronger?
[07:02] <sparkies> so, why did he hire you? also, what was the job title/desc?
[07:02] <sp0n9e> ox2: because zend does the majority of programming with PDT (technically it'
[07:02] <_sawyer> does php-fcgi use /etc/php.in?
[07:02] <ntom> Two9A: still working hard there r they ? what u been up apart from IRC'ing ?
[07:02] <sp0n9e> xdebug is a third party lib programmed by Derick Rethans (a php dev, xdebug.
[07:03] <Two9A> Tom: Setting up my linux vm, and very little else
[07:03] <ox2> sp0n9e: aha, thanks a lot for the info
[07:03] <sp0n9e> the xdebug plugin for PDT is in a bug report (as a feature request)
[07:03] <Cdogg> wow rza
[07:03] <ntom> Two9A: sounds easy, do they need another dev ? :)
[07:03] <sp0n9e> it hasn't been made part of PDT yet
[07:03] <Two9A> I doubt they do
[07:03] <sp0n9e> a lot of politics involved with that
[07:03] <Cdogg> your sharpen is really nice
[07:03] <sparkies> Two9A, DAMN YOU ANSWER ME!
[07:03] <sp0n9e> komodo has integrated xdebug support
[07:04] <Two9A> sparkies: I did?
[07:04] <ox2> sp0n9e: it sounds weird, that zend team uses PDT to code and not their zend stu
[07:04] <sparkies> [15:02:24] <+sparkies> so, why did he hire you? also, what was the j
[07:04] <ntom> Two9A: so they want you to bring out the inovative idea's for thier site aswel
[07:04] <Two9A> Tom: That's why I'm getting 200/day
[07:04] <sp0n9e> ox2: no, zend uses multiple types of editors/ide's...the eclipse plugin is p
[07:04] <Two9A> They want me to have a hand in design, ffs
[07:04] <ntom> ... cunt (im jealous)
[07:04] <Two9A> haw
[07:05] <ox2> sp0n9e: aha, ok
[07:05] <stutter_> agh
[07:05] <stutter_> how does one quit emacs
[07:05] <stutter_> rofl
[07:05] <sparkies> !kick Two9A fucking answer me :|
[07:05] <Two9A> Oh, there was another question
[07:05] <Two9A> Right
[07:05] <ntom> Two9A: if you need designs done you know i do good designs :) tell them i give
[07:06] <ox2> sp0n9e: what if I want to use eclipse for java and for php? Then I have 2 copie
[07:06] <Two9A> sparkies: He's hiring for a webdev/consultant to "sort the site out"
[07:06] <thegreebo> !kick sparkies just wondering if it works for me
[07:06] <thegreebo> clearly not
[07:06] <erf> thegreebo: haha, no
[07:06] <sp0n9e> ox2: no, just one
[07:06] <erf> It's works for me though
[07:06] <sparkies> thegreebo, that'd be a no
[07:06] <thegreebo> :(
[07:06] <Two9A> Basically, he's got some ideas about where the thing needs cleaning up, and t
[07:06] <sp0n9e> ox2: if you're familiar with java, you can just go through the dependencies
[07:06] <Cdogg> Two9A where ya working?
[07:06] <sparkies> Two9A, sounds like fun, perm?
[07:06] <sp0n9e> ox2: i just recommended the all-in-one so you don't spend 2 hours figuring o
[07:06] <kod-kod> is there a way to return $_SERVER["PHP_SELF"] with the querystring ?
[07:06] <Two9A> contract-to-perm, right now
[07:06] <thegreebo> erf: so why's it work for you?
[07:06] <sparkies> 3 month contract?
[07:06] <ox2> sp0n9e: ok, thanks a lot for your help
[07:07] <Two9A> Cdogg: counselling/psychotherapy association
[07:07] <Two9A> sparkies: indeed
[07:07] <sp0n9e> kod-kod: var_dump($_SERVER);
[07:07] <sp0n9e> look for another var
[07:07] <Cdogg> intresting
[07:07] <erf> thegreebo: Because I have the correct modes on the bots
[07:07] <thegreebo> ah,k
[07:07] <sparkies> Two9A, cool.. are there any other devs/people who can watch what you're do
[07:07] <kod-kod> thanks sp0n9e
[07:07] <ox2> sp0n9e: but spd version is the normal latest eclipse, just with all plugins pre
[07:07] <Two9A> sparkies: My immediate boss is the guy who'll be looking at the stuff I put f
[07:08] <ox2> sp0n9e: sorry, *PDT version
[07:08] <sp0n9e> ox2: it's a very very recent stable version of eclipse
[07:08] <ntom> yeah Two9A, you could just spend all day on irc then dosome when u get home.
[07:08] <ox2> sp0n9e: ok, perfec, then I'm ready to go... :-)
[07:08] <ntom> hey imran, will they not let you work a few days a week at home/
[07:08] <sp0n9e> ox2: you can always use the integrated updater to update
[07:08] <ox2> sp0n9e: perfect
[07:08] <Two9A> Tom: The boss works 2 days a week at home, so they might
[07:09] <ntom> sounds good
[07:11] <sp0n9e> is teh imran at work?
[07:11] <Two9A> hi
[07:11] <sp0n9e> so when does the bomb go off?
[07:11] <sp0n9e> (you knew this was coming)
[07:11] <Two9A> It'll take a while to implment
[07:11] <sparkies> hahaha
[07:12] <Two9A> Component sourcing orders will be going out in a coupla weeks
[07:12] <sparkies> Two9A, nice pay too considering you're just sitting on your ass
[07:12] <ntom> yewah,lol
[07:12] <Two9A> I don't mind it
[07:12] <Two9A> I will have to turn up on time though :|
[07:12] <sparkies> yeah that'll help, what did he/she say about that?
[07:13] <Two9A> No real problem. I'll just have to timesheet for less
[07:13] <WhiteWolf> who has the case of the mondays?
[07:13] <Two9A> First day though; proper good impression, 2 hours late :D
[07:13] <sparkies> did he ask why you were late and stuff?
[07:13] <sp0n9e> Two9A: they won't let you work from home
[07:13] <sp0n9e> Two9A: they know that's the day the bomb goes off
[07:13] <sparkies> i was late for my first date, only 30 mins tho
[07:13] <sparkies> day*
[07:13] <Two9A> sp0n9e: I can build timing PCBs at home fine!
[07:13] <apathy--> I've been 2h late for a first day before
[07:14] <Meritt_> WhiteWolf: I think you have to be doing something to qualify for that.
[07:14] <apathy--> after being 45min late for the interview
[07:14] <sparkies> heh
[07:14] <sp0n9e> apathy--: great impression.
[07:14] <Two9A> apathy--: I was also 2 hours late for the interview
[07:14] <sparkies> they kinda expected it then
[07:14] <jud-_-zZ> i jerked it to triplet porn
[07:14] <WhiteWolf> it was a question, soommeeone must in here!
[07:14] <sparkies> wtf
[07:14] <Two9A> It's judas!
[07:14] <sparkies> WhiteWolf: everyone
[07:14] <WhiteWolf> Two9A: you're stupid :P
[07:14] <Two9A> *, yeah
[07:14] <WhiteWolf> sparkies: i'm having a wonderful monday
[07:14] <jud-_-zZ> hey
[07:14] <sparkies> everyone besides you*
[07:14] <sparkies> happy? :)
[07:14] <Two9A> WhiteWolf: I have an ability to attract accidents 10 miles in front of me
[07:15] <sparkies> what time you leaving work?
[07:15] <WhiteWolf> Two9A: amazing, we'd have no need for you here in Kansas City... they hap
[07:15] <Two9A> 5, most likely
[07:15] <sparkies> make sure i'm staying in you see..
[07:15] <Two9A> I'm going nowhere near ya
[07:16] <WhiteWolf> good, we dont need any more stupid people =p
[07:16] <syc> kansas: imma rebuild!
[07:17] <syc> gu huh
[07:17] <WhiteWolf> the greater kansas city metro has retarded drivers all around
[07:17] <erf> Imran, did you have to go through Leicester?
[07:17] <sparkies> erf, are you inlove with him or something? who cares if he went near your
[07:17] <sparkies> ffs
[07:18] <erf> :(
[07:18] <WhiteWolf> he just wants to hang out with Two9A
[07:18] <WhiteWolf> "imran"
[07:18] <sparkies> he was offering him a place to stay before too
[07:18] <sparkies> on his "sofa"
[07:18] <sp0n9e> i love when people put return $foo; break; in a switch.
[07:18] <erf> sparkies: :)
[07:19] <erf> sparkies: You're only jealous that I didn't offer you :P
[07:19] <sparkies> :(
[07:19] <haleyss> So I need to set session.auto_start = 0 to 1?
[07:19] <haleyss> Or should I just continue to do session_set_cookie_params(); everytime?
[07:19] <Two9A> I passed the leicester turnoff, that's close enough to Si
[07:19] <feti> sp0n9e: know off hand which lighty mod can limit simultaneous downloads?
[07:20] <sp0n9e> no clue
[07:20] <rza> http://www.break.com/index/windows_start_up_music_prank.html
[07:20] <feti> erm
[07:20] <rza> funny
[07:20] * Two9A has bought himself another half hour before he has to do some work
[07:20] <sp0n9e> feti: i do know that the sendfile behavior is changing a lot internally for
[07:20] <feti> ruhr oh
[07:20] <feti> have a link
[07:20] <sp0n9e> well, it's mostly internal shit
[07:20] <sp0n9e> should work the same for you
[07:21] <sp0n9e> http://blog.lighttpd.net/articles/2007/01/27/accelerating-small-file-transfe
[07:21] <sp0n9e> you'll have to enable a module to use it now
[07:21] <sp0n9e> but it should be faster
[07:22] <sparkies> rza, rofl
[07:22] <Rajohan> what is wrong with this: '/\[quote\]<div style="background-color: #ccccc
[07:23] <preinheim> You probably really want that to be ungreedy
[07:23] <sp0n9e> Rajohan: the closing [/quote isn't escaped
[07:23] <ntom> Imran, leicester?
[07:23] <ntom> rza: u there?
[07:24] <Rajohan> sp0n9e i still get the error: Warning: preg_replace() [function.preg-replac
[07:25] <sp0n9e> Rajohan: <\/div>
[07:25] <Rajohan> ahh
[07:25] <sp0n9e> as well
[07:25] <sp0n9e> lots of errors
[07:25] <Two9A> Tom: My work is south of leic by 10-odd miles
[07:25] <sp0n9e> Two9A: 10 is an even number.
[07:25] <Meritt_> miles? lets be honest, you want to say km
[07:25] <ron_frown> dude
[07:25] <sp0n9e> are you trying to change our number system?
[07:26] <ntom> Two9A: give me postcode, let me see where it is
[07:26] <ron_frown> this facesofmeth site is pretty fucking scary
[07:26] <ron_frown> wtf makes people get on meth in the first place
[07:26] <sp0n9e> lack of cocaine?
[07:26] <ron_frown> they KNOW its going to fuck up their lives.
[07:26] <Meritt_> ron_frown: Is that http://ci.independence.mo.us
[07:26] <Meritt_> ?
[07:26] <Two9A> ntom: le17 4hb
[07:26] <ron_frown> drugfree.org/portal/drugissue/methresources/faces/
[07:26] <qwer> wjat
[07:26] <qwer> hello
[07:27] <ntom> Two9A: it is 30mins from my old house (parents house)
[07:27] <qwer> what's a good way to determine if the background at x/y is transparent or not?
[07:27] <Two9A> Cool beans
[07:27] <ntom> Two9A: my dad actually use to work in lutterworth
[07:27] <qwer> pardon, not background, just the color at x/y pixel
[07:27] <Two9A> Ah, nice
[07:27] <Meritt_> ron_frown: Heh, it was a joke. Independence, MO was/is the meth capital of
[07:27] <ron_frown> oh
[07:28] <ron_frown> most of the midwest has huge problems with meth
[07:28] <ron_frown> basically anywhere you'll find white trash
[07:28] * Meritt_ lived in Independence for 2 years :)
[07:28] <ntom> Two9A: that is so unbelivable close to my old house
[07:28] <Meritt_> We're pretty sure the house we lived in used to be a meth lab.
[07:28] <Meritt_> At least downstairs in the scary basement
[07:28] <ron_frown> my great aunt or something lives in arkansas, she had a huge house she'd
[07:29] <ron_frown> one day she smells chemicals and shit and calls the authorities
[07:29] <ron_frown> and apparently she had a huge methlab in her own house and didnt know it
[07:29] <syc> mmmm.
[07:29] <Kruge> Either that, or someone was late with their protection money...
[07:29] <sp0n9e> ron_frown: did the cops come and clean it? usually they do that as a public
[07:29] <ron_frown> yes they ddi
[07:30] <ron_frown> she didnt want that shit going on in her house
[07:30] <sp0n9e> the chemical byproducts of meth are so fucking horrible
[07:30] <ron_frown> dude I used to mix my own race fuels
[07:30] <BlueEagle> sp0n9e: How would you know? o_O
[07:30] <sp0n9e> BlueEagle: i have a friend in philly's swat?
[07:30] * pushgone is now known as _pusher_
[07:30] <ron_frown> so anyway toluene makes an excellent octane booster
[07:30] * syc wonders where this drugfree.org is hosted
[07:30] <BlueEagle> sp0n9e: That's what they all say. :p
[07:30] <stutter_> god damn
[07:30] <stutter_> samba documentation sucks
[07:30] <syc> all, 5kb/s of bandwidth
[07:31] <stutter_> wtf is %S mean, in smb.conf :(
[07:31] <feti> http://www.stopmethaddiction.com/img/meth-mouth01.jpg mmmmmm
[07:31] <syc> stutter-: http://www.faqs.org/docs/securing/chap29sec284.html
[07:31] <sp0n9e> feti: that sure is a purty mouth.
[07:31] <ron_frown> apparently toluene is a key ingredient to making meth
[07:31] <BlueEagle> stutter_: %S would probably be server name.
[07:31] <sp0n9e> ron_frown: that's nice.
[07:31] <ron_frown> I found this out only AFTER inquiring at a local paint store about a 55 g
[07:31] <syc> toluene causes cancer, no?
[07:32] <ron_frown> well lots of paint products are carnicgenic or whatever
[07:32] <ron_frown> syc, that site is being dugg
[07:32] <sp0n9e> Toluene, also known as methylbenzene or phenylmethane is a clear, water-inso
[07:32] <sp0n9e> it's got meth in the name, ffs :P
[07:32] <syc> feti: sexy.
[07:32] <qwer> is there a way to determine if the color at x/y pixel is transparent?
[07:32] <Cdogg> argg why do i still have domains at network solutions?!
[07:33] <Cdogg> trying to transfer them now
[07:33] <Cdogg> i have to call them
[07:33] <syc> benzene is definately bad.
[07:33] <Cdogg> wtf
[07:33] <Ramjar> how is this possible? Fatal error: Allowed memory size of 20971520 bytes exh
[07:33] <syc> Ramjar: horrible coding?
[07:34] <sp0n9e> Ramjar: hosters usually limit the amount of memory you can have taken by php
[07:34] <sp0n9e> code more effeciently.
[07:34] <Ramjar> sp0n9e: SquirrelMail
[07:34] <sp0n9e> up the ram available?
[07:34] <syc> sounds like a huge attachment on an email
[07:34] <syc> eating all the ram
[07:34] <sp0n9e> 10MB or so
[07:34] <ron_frown> zimbra ftw!
[07:34] <BlueEagle> ramjar: How is your script bigger than 20M?
[07:34] <Ramjar> i got 120 mb RAM free
[07:34] <gillis> hmm.. why is this just not assuring me about the safety on aeroflot
[07:34] <sp0n9e> Ramjar: php limits ram by itself
[07:35] <gillis> " Usually cheapest tickets to/from Russia. Good service (despite what many p
[07:35] <ron_frown> its just trying to allocate memory
[07:35] <ron_frown> probably for handling an attachment or fileupload of some sort?
[07:35] <Ramjar> yes
[07:35] <sp0n9e> Ramjar: php has memory limit to keep it from taking up too much ram
[07:35] <syc> Ramjar: increase your rams!
[07:35] <Ramjar> memory_size?
[07:35] <BlueEagle> ramjar: Ahh, that can happen.
[07:35] <billy> http://www.smithappens.com/picture/542/Leds-and-resistors-circuit-sex-positio
[07:35] <billy> nice.
[07:36] <billy> anyone have any lotion?
[07:36] <Ramjar> what should i set it to? (webmail)
[07:36] <syc> billy: doesn't load
[07:37] <BlueEagle> billy: that site has been #PHPed. :p
[07:37] <Ramjar> but i dont understand. i have set to 20 MB, and webmail wants ~11 MB so it s
[07:37] <billy> nah it's on digg
[07:37] <syc> well, server is down
[07:37] <billy> duggmirror's down too :/
[07:37] <BlueEagle> billy: Ahh so it got slashdotted after it was posted on digg? :p
[07:37] <syc> Ramjar: 20+11
[07:38] <WhiteWolf> dugg then slashdot, lol
[07:38] <syc> Ramjar: set it to 128M in your php.ini
[07:38] <erf> I saw that link
[07:38] <Ramjar> syc aha.
[07:38] <BlueEagle> ramjar: No it doesn't want 11M it wants 11M more than what it currently h
[07:38] <Ramjar> syc hehe. i will :)
[07:38] <Ramjar> #php. thnx!
[07:38] <syc> $50.
[07:38] <Ramjar> accountnr?
[07:38] <erf> That smit happens site works for me
[07:38] <Ramjar> :)
[07:38] <billy> http://img442.imageshack.us/img442/9628/36422580dz6.jpg
[07:38] <syc> shadda@gmail.com
[07:38] <syc> paypal.
[07:38] <billy> there;s one of them
[07:38] <Ramjar> hehe
[07:38] <syc> charity donation.
[07:39] <syc> billy: who takes the time to do that?
[07:39] <syc> YOU?
[07:39] <erf> syc, why donate to shadda?
[07:39] <syc> erf: food?
[07:39] <ron_frown> who runs a webserver within 120 megs of phsyical limits
[07:39] <erf> Shadda has a job
[07:40] <billy> I took the time to look for it in my cache and upload it to imageshack, yes.
[07:40] <syc> does he?
[07:40] <syc> i thought he was like Two9A
[07:40] <erf> As far as I know Shadda has a job
[07:40] <Two9A> jobless?
[07:43] <Meritt_> Donate to Shadda. I'll second that motion.
[07:43] <ntom> mm
[07:44] <sp0n9e> a rat chewed through the wires for our camera system
[07:44] * sp0n9e lols
[07:44] <ron_frown> my god damn cat chewed through sensor bar for my wii
[07:44] <apathy--> punishable by death
[07:44] <Kruge> Dead cat.
[07:44] <syc> my cat threw up today all over the carpet
[07:44] <ron_frown> its only 10$
[07:45] <Kruge> It's the PRINCIPLE
[07:45] <sp0n9e> our cat ran away
[07:45] <sp0n9e> we kept feeding a cat (somewhat) in the warehouse to kill the rats
[07:45] <sp0n9e> but he rans
[07:46] <Kruge> I never had a cat. Nor a dog. Nor any kind of pet.
[07:47] <apathy--> don't bother
[07:47] <apathy--> they're a PITA
[07:47] <Kruge> You`re such a warm, caring individual
[07:47] <apathy--> heh
[07:47] <apathy--> I say this because we have two cats
[07:47] <apathy--> hassle from start to finish
[07:47] <sp0n9e> cats don't have owners, cats have slaves.
[07:47] <Two9A> Hm. I should probably be installing debian, not gentoo
[07:47] <Kruge> But you also have a bread-making machine
[07:48] <ntom> Two9A: why?
[07:48] <Kruge> I don't know where I was going with that.
[07:48] <sp0n9e> Two9A: see that slashdot article "don't put gentoo on a server!"
[07:48] <apathy--> Kruge: yes, but that cats don't fit in it
[07:48] <sp0n9e> slashdot is only right half the time
[07:48] <Two9A> ntom: The server is debian, and I want to replicate conditions
[07:49] <ntom> Two9A: ahh. r u on ur laptop, i presume u took it withu
[07:49] <Two9A> Nah
[07:49] <bnovc> anyone used mappy before?
[07:49] <ntom> no?
[07:49] <Two9A> Might bring it in tomrrow, but I didn't know policy here :P
[07:49] <Two9A> bnovc: mappyvm?
[07:53] <bnovc> Two9A: no, some shitty tile map creator
[07:53] * Proximus is now known as Prox\a
[08:02] <sp0n9e> i <3 cachegrind :D
[08:02] <feti> ya right
[08:02] <feti> it's so stupid and useless
[08:02] <syc> i hate it!
[08:03] <sp0n9e> feti: it shows me that 235ms of 238ms was spend connecting to my database (w
[08:05] <feti> nice
[08:05] <feti> now stop having a case of the monday's and view my two comments as '.*</sar
[08:05] <sp0n9e> :_(
[08:05] <feti> xdebug is nice
[08:06] <sp0n9e> i might have to purchase komodo to get better support...i'm going to try kom
[08:06] <sp0n9e> (xdebug support that is)
[08:06] <syc> tried aptana?
[08:06] <feti> sp0n9e: i have licenses still i think
[08:06] <sp0n9e> syc: it's okay, i don't do enough js to justify it
[08:07] <sp0n9e> as in multiple? :D
[08:07] <feti> yeah, they sponsored my project and gave everybody unlimited lifetime licensin
[08:07] <sp0n9e> hahaha
[08:07] <feti> i just have to dig them up
[08:07] <feti> they were binary files you had to run
[08:07] <sp0n9e> nice
[08:08] <sp0n9e> send it to my gmail or something if you please
[08:08] <sp0n9e> i'm basically recreating redline...this so didn't start out as that.
[08:08] <feti> hehehe
[08:08] <ntom> so i've been trying to get mod_rewrite enabled on apache2, got it running b4,
[08:08] <feti> well it was for Mojavi, but that's ok :D
[08:08] <sp0n9e> "okay, i'm done this object...now...this doesn't feel right anymore...lemme
[08:09] <feti> i'll see if my buddy has the licenses, i can't find them :(
[08:09] <feti> but i know he has to
[08:09] <feti> he archives everything
[08:09] <sp0n9e> ntom: are you on debian?
[08:09] <ntom> sp0n9e: ubuntu, but i gather its like the same thing?
[08:09] <sp0n9e> yeah, this is going to be easy.
[08:10] <sp0n9e> cp /etc/apache2/mods-available/<some mod_rewrite related name> /etc/ap
[08:10] <sp0n9e> where <some mod_rewrite related name> is the .conf that has mod rewrit
[08:10] <ntom> yeah i got that bit
[08:11] <sp0n9e> what's the issue?
[08:11] <ntom> still not working
[08:11] <sp0n9e> did you reload apache?
[08:11] <ntom> its in mods-available but i'm sure i have to edit some kind of .conf to turn i
[08:11] <ntom> yeah
[08:11] <sp0n9e> you have to copy the file from mods-available to mods-enabled
[08:12] <sp0n9e> mods-available isn't read by apache
[08:12] <ntom> ah
[08:12] <sp0n9e> it's just a bunch of already-configured modules
[08:12] <ntom> 1sec then
[08:12] <sp0n9e> which is why i said cp
[08:12] <ntom> okay its in their now, i got confused as their both so similiar in look, enabl
[08:13] <sp0n9e> the difference is one is available to be used, the other one is being used.
[08:13] * sp0n9e doesn't see the similarity
[08:13] <feti> sp0n9e: he's going to look for it, it's somewhere he said. he said give him a
[08:13] <sp0n9e> haha
[08:13] <sp0n9e> no rush
[08:14] <pimpwell> what's up my IRC family from anotha motha
[08:14] <ntom> sp0n9e: sorted cool
[08:14] <ntom> thanks
[08:14] <ntom> that was easy and painless
[08:14] <sp0n9e> that's the debian way
[08:14] <ntom> :)
[08:15] <sp0n9e> almost all modular servers use the -enabled -available convention when insta
[08:15] <pimpwell> I have 2 tables.. [county, city, state] and [city, state, zipcode] how
[08:15] <sp0n9e> the first part may change though (with debian + lighty it's conf-enabled i t
[08:16] <pimpwell> I want [city, county, state, zipcode] after the query
[08:16] <ntom> yes installing apache2, php5 and mysql5 was easy 1line and then it was done. G
[08:16] <sp0n9e> ntom: you're apt-get'ing php5? apt-cache search ^php5
[08:16] <sp0n9e> apt-get install php5-gd2 iirc
[08:17] <Meritt_> pimpwell: First of all, that's poor database design. Your second table sho
[08:17] <pimpwell> it was after-the-fact
[08:17] <sp0n9e> apt-cache search will search the repository with a regular expression
[08:17] <pimpwell> that's why I'm stuck like this
[08:17] <Meritt_> city,state is redundant.
[08:17] <ntom> sudo apt-cache search php5 gd2
[08:17] <ntom> that just bought up some graph stuff
[08:17] <Martz> Hmm, anyone in the UK looking for a Wii?
[08:17] <pimpwell> yeah, I had to get a second DB and everything but it's too late
[08:17] <feti> country table, state table, city table, user table
[08:17] <feti> that's what you want
[08:17] <Meritt_> pimpwell: So just join the second table where cityA=cityB and stateA=stateB
[08:17] <sp0n9e> ntom: apt-cache search ^php5-gd
[08:18] <sp0n9e> ntom: the ^ weeds out a lot of shit by anchoring php5 to the left
[08:18] <Meritt_> pimpwell: Realize it's going to be a one-to-many relationship.
[08:18] <feti> andt eh user table having the id of the city only, or to save querying time, s
[08:18] <rza> sp0n9e: not in that case
[08:18] <pimpwell> is it one to many? city, state = 1 zipcode in my DB
[08:18] <ntom> sp0n9e: nice trick, php5-gd - GD module for php5
[08:18] <rza> sp0n9e: if search word is php5-gd it returns one or two results
[08:18] <ntom> php5-gd was round but its not gd2 ? 4
[08:18] <sp0n9e> it's gd2
[08:18] <rza> ntom searched php5 gd
[08:18] <rza> see space
[08:18] <sp0n9e> rza: yeah, i know...searched for both
[08:19] <sp0n9e> :/
[08:20] <rza> ntom: apt-get install php5-gd and make sure you have extension=gd.so in /etc/ph
[08:20] <ntom> sp0n9e: php5-gd says its installed, however i cannot seems to use GD at all
[08:20] <sp0n9e> see rza
[08:20] * ntom checks the phpini
[08:21] <sp0n9e> is {} reserved for anything in sql?
[08:21] <ntom> yeah its in their just commented out with a semi colon
[08:21] <sp0n9e> bah, i'll just use the pdo-like :foo
[08:22] <ntom> remove semi colon, restart, work ? sp0n9e i wish i oculd return the favour and
[08:22] <sp0n9e> ntom: yeah, that should work
[08:22] <ntom> cool
[08:23] <rza> ntom: you can return the favor..
[08:23] <rza> ntom: bend over..
[08:24] <rza> interesting
[08:24] <rza> theres a latvian gay in finnish idol
[08:24] <rza> and hes dating a guy i know
[08:25] <ntom> okay, gd is now running, thanks for the help sp0n9e and rza
[08:28] <sp0n9e> rza: i'm sorry.
[08:29] <sp0n9e> i'm sorry that our people made american idol so successful it was hoisted up
[08:31] <ColdNeon> getting an error about an invalid argument supplied to a foreach on line 5
[08:31] <ColdNeon> Is there any way to trace an error through includes? or discern if that is
[08:31] <DanMan010> Are you sure its the current running file and not an included one?
[08:32] <sp0n9e> ColdNeon: an error doesn't bubble up to another page
[08:32] <DanMan010> It tells you which file is erroring
[08:32] <sp0n9e> even in an eval
[08:47] <^cb> Following gives me parse error, unexpected '{' on line 2 it is the "try{" Why?
[08:47] <^cb> <?php
[08:47] <^cb> try{
[08:47] <^cb> throw new Exception($error); } catch (Exception $e) { echo 'Caught exception: '
[08:48] <chillmac> echo 'Caught exception: ', <- musst be a ; at the end
[08:49] <chillmac> like the rest there too
[08:49] <chillmac> oh no
[08:49] <chillmac> fuck
[08:49] <chillmac> im wrong
[08:49] <chillmac> sr
[08:49] <chillmac> y
[08:50] <pimpwell> SELECT zip FROM areas, counties WHERE areas.city="hartsdale" and counties.
[08:51] <pimpwell> that is returning me 91 of the same results..
[08:51] <pimpwell> when I browse me DB there is only 1 record with the zip 10530...
[08:51] <pimpwell> why 91 results?
[08:52] <^cb> In looking at google it looks as if try is in version 5. Doing a phinfo() on go
[08:52] <rza> nsfw http://bp0.blogger.com/_IlF1bQuSM6I/Rb1ZdSFYZUI/AAAAAAAAATY/lJTkHfz5ctU/s1
[08:52] <pimpwell> hmm
[08:52] <pimpwell> it seemd to have done an OR instead of an AND
[08:53] <sparkies> those are weird eyes
[08:53] <rza> i wasnt looking at the eyes
[08:53] <sparkies> she looks fake
[08:53] <feti> rza: doesn't get better than those, i mean that, it, her.
[08:53] <chillmac> down for me :/
[08:53] <sparkies> and i dont mean her BOOBIES
[08:53] <feti> those boobs dont' seem fake to me, but you can't tell till you check underneat
[08:53] <rza> chillmac: refresh a few times
[08:53] <sparkies> i meant her face
[08:53] <feti> or unless you're seinfeld, you can bump into them and check them
[08:53] <sparkies> it looks .. well weird
[08:53] <feti> sparkies: well it's photoshopped
[08:54] <rza> if that girl was mute she would be a perfect woman
[08:54] <feti> yep
[08:54] <billy> feti: elaine**
[08:55] <chillmac> rza: well, i read somethin about boobies...just sitting in the university
[08:55] <billy> asian girls are ugly though
[08:55] <rza> i like asian girls
[08:55] <sparkies> its just a picture of a girl wit her doggy
[08:55] <sparkies> nothing bad
[08:55] <chillmac> ....no, iwont :D
[08:56] <billy> one of those are bigger than my head though
[08:56] <sparkies> heh
[08:56] <^cb> Any way to catch exceptions in php 4.?
[08:56] <billy> it's an IRL anime chick
[09:00] <feti> cb: PHP4 doesn't have exceptions, so it can't.
[09:01] <Two9A> Right, home! later
[09:02] <ntom> Two9A: safe drive
[09:05] <ntom> wow
[09:05] <ntom> mega tits on her
[09:05] <ntom> r they real ? look photoshopped to me
[09:06] <Boned> boobs?
[09:06] * Boned is now known as Bored
[09:06] <Bored> pics pls
[09:07] <ntom> 16:52 <@rza> nsfw http://bp0.blogger.com/_IlF1bQuSM6I/Rb1ZdSFYZUI/AAAAAA
[09:07] <ntom> u know the rule, never write anything down you wouldn't want read out in court
[09:07] <phiz> http://chris.602.org/misc/garden_of_eden.jpg <-- really NSFW
[09:08] <syc> that is nice.
[09:08] <phiz> she's hot
[09:08] * syc burns the mental image in
[09:08] <ntom> yeah she is sexy with good body
[09:08] <syc> i just wish she was a little larger
[09:08] <syc> http://php.mooo.com/images/ohbaby.jpg nsfw
[09:09] <syc> mental image, DESTROYED
[09:09] <phiz> whooop, off to work
[09:09] <ntom> wow thats gross
[09:09] <ntom> i bet someone has to help turn her over / put her in that position, and that i
[09:10] <Bored> OH MY
[09:10] <globalCue> guys, can you handle 200 visits/second on your mighty php sites?
[09:10] <syc> globalCue: only 199. sorry.
[09:10] <globalCue> :(
[09:10] <feti> syc beat me to it
[09:10] <globalCue> that's it, I'm moving to java for that extra one
[09:10] <feti> well java can only do 201
[09:10] <feti> so you're not gaining much
[09:10] <globalCue> butt seriously :P
[09:10] <syc> feti: psst, he wants your butt
[09:10] <feti> global: i don't see why not. sure.
[09:10] <sp0n9e> feti: i found a refcount in a table in sql for keeping track of when to dele
[09:10] <globalCue> feti, marketing says 200 is twice more than 199.
[09:10] * sp0n9e lols
[09:11] <feti> sp0n9e: huh? :D
[09:11] <X-wing> man, I just completely failed an interview... :-(
[09:11] <feti> global: i'm aware of why prices are 99cents and not a dollar and so on :D
[09:11] <sp0n9e> feti: you can attach images to products in our webapp...and so to figure out
[09:11] <feti> MY BRAIN, i's ruined!
[09:11] <syc> X-wing: did you laugh at a disfiguring amputation that one of the interviewers
[09:11] <globalCue> feti, taxes?
[09:11] <syc> X-wing: if not, then it's not as bad as an interview i had once.
[09:12] * sp0n9e criews
[09:12] <feti> sp0n9e: haha
[09:12] <sp0n9e> cries
[09:12] <globalCue> feti, I was actually convinced it had something with taxes long time ago
[09:12] <feti> sp0n9e: how convenient :D
[09:12] <X-wing> syc: wanted me to write a script connecting to a database a retrieving rows.
[09:12] <sp0n9e> feti: too bad everything has a refcount of 0.
[09:12] <feti> globalCue: heh
[09:12] <syc> hehe
[09:12] <sp0n9e> otherwise his code would work.
[09:12] <globalCue> I couldn't understand why ANYONE would think 999 prices are a good market
[09:12] <syc> X-wing: i was in an interview, the guy had half his hand missing but i didn't k
[09:13] <sp0n9e> globalCue: you talking about the nine-tenths of a cent on gas?
[09:13] <stutter_> lol
[09:13] <syc> X-wing: then the guy goes to cough and uses this disfigured hand to do so, and
[09:13] <X-wing> haha
[09:13] <syc> i burst out laughing
[09:13] <X-wing> I can see where that would happen
[09:13] <syc> i couldn't stop so i just got up and left
[09:13] <feti> hahaha syc
[09:13] <Bored> i love boobs
[09:13] <syc> Bored: your own.
[09:13] <billy> syc: that's fucked up
[09:13] <Bored> (. )( .) bouncy funbags (' )( ')
[09:14] <billy> syc: was it like scary movie style fucked up hand?
[09:14] <X-wing> the whole not knowing how to connect to a database thing... that should be u
[09:14] <feti> billy: the gimp hand
[09:14] <billy> syc: that's how my neighbor's arm is
[09:14] <feti> well ya, people do have them
[09:14] <syc> billy: missing like, 2 complete fingers, then half of some other ones, then the
[09:14] <feti> it's a shame ;(
[09:14] <billy> and she's always at our place trying to talk to us
[09:14] <feti> so what
[09:14] <feti> she's probably nice
[09:15] <syc> i'm missing half a toe
[09:15] <syc> industrial accident
[09:15] <billy> she's nice to me, cuz I'm nice to her
[09:15] <billy> she can be a bitch though
[09:15] <syc> insurance payout!
[09:15] <feti> i bet she talks to her friends on the net like you do about her. "I have this
[09:15] <globalCue> when you type do you utilize all your 10 fingers in the classical way of
[09:15] <X-wing> syc: the whole not knowing how to connect to a database thing... that should
[09:15] <syc> X-wing: couldn't just told them that you use PDO or PEAR
[09:15] <syc> but you should know the syntax off hand
[09:15] <globalCue> becauase, on my left hand I actually use three fingers only, I'm self tha
[09:15] <sp0n9e> my parents' landlord (when i was like 2) had a missing arm...he showed us ho
[09:15] <syc> even for native mysql
[09:15] <sp0n9e> he gave us grapes and grapejuice all the time
[09:16] <X-wing> I used to :-(
[09:16] <X-wing> but it's been a year
[09:16] <X-wing> that's all I used to use
[09:16] <X-wing> mysql_fetch_row()
[09:16] <stutter_> i use 10 fingers in the classical way of typing
[09:16] <stutter_> fetch assoc you dirty piece of shit
[09:16] <X-wing> see
[09:17] <X-wing> I don't fucking remember
[09:17] <X-wing> I use a damn class
[09:17] <X-wing> I feel so handicapped
[09:17] <stutter_> u r
[09:17] <sp0n9e> derrrrrr
[09:17] <rasu> hello i tried to make a mail function yesterday and it dident work. i dont get
[09:17] <Kruge> Is that supposed to be funny, sp0n9e?
[09:18] <globalCue> I use models, if I gotta do it on the spot I'll write something stupid li
[09:19] <globalCue> X-wing, well that's cool, I'm also SQL-handicapped, but if you could only
[09:19] <globalCue> long details interfaces :P
[09:19] <stutter_> function stab() { die('die motha fucka'); }
[09:19] * JoNaS^X5 is now known as JoNaS^30
[09:19] <sp0n9e> globalCue: that's so wrong :(
[09:19] * JoNaS^30 is now known as JoNaS^X5
[09:19] <sp0n9e> `` is for dummies
[09:20] <KravenCod> i'm trying to find a program that will lookup to see if comcast high spee
[09:20] <globalCue> sp0n9e, what's for pros?
[09:20] <KravenCod> does anyone know of such software?
[09:20] <sp0n9e> i hope that's an extension to PDO, not pdo itself
[09:20] <X-wing> globalCue: EXACTLY! I don't think a coder should be judged by his/her abilit
[09:20] <sp0n9e> pdo dsn's are nastier than that.
[09:20] <sp0n9e> X-wing: shows working knowledge
[09:20] <syc> X-wing: did you bring sample work with you?
[09:20] <syc> i always do
[09:20] <X-wing> I was told tests would be presented to me
[09:20] <syc> got my jumpdrive with eclipse on it.
[09:20] <X-wing> it all seems so standardized
[09:21] * sp0n9e hides from jazzi
[09:21] <stutter_> you act as if connecting to a database is hard.
[09:21] <globalCue> X-wing, well you should've shown them how well you play basketball
[09:21] <globalCue> that always worked for me
[09:21] <syc> should have started writing asp code
[09:21] <X-wing> stutter_: it is if you don't know the command because you haven't used it in
[09:21] <syc> 3.0
[09:22] <stutter_> X-wing: its not like its something obscure like mysql_19821810cuao32na()
[09:22] * jazzi cries
[09:22] <stutter_> with obscure arguments
[09:22] <globalCue> "ok so how do you avoid SQL injection?" me: "hey.. wanna see me play bas
[09:22] <syc> even if you got the argument order wrong, etc
[09:22] <jazzi> Fine, I won't spend hours on the phone and take pics of soup for you anymore!
[09:22] <stutter_> like the chr() values for each character in your strings
[09:22] * jazzi huffs and wanders off
[09:22] <syc> it'd still be fine
[09:22] <syc> jazzi: nice ....!
[09:22] <X-wing> ya, because php has consitant function names and agrument order!!!
[09:22] <syc> what company was it for?
[09:22] <sp0n9e> X-wing: they're usually consistent within the library! :P
[09:22] <rasu> anybody knows how to config php.ini to make mail() works on freebsd ?
[09:23] <globalCue> X-wing, this is probably its only advantage. Consistency. Otherwise I'd c
[09:23] <^cb> in php can I test if an image is gif or jpg? imagecreatefromjpeg is crashing o
[09:23] * globalCue rolls on the floor spitting blood
[09:23] <arpad> ^cb: getimagesize()
[09:23] <syc> ^cb: www.php.net/exif
[09:23] <KravenCod> does anyone know a function or class that will tell you if comcast is ava
[09:24] <KravenCod> or know where i can look to find such software? I'm not having any luck o
[09:24] <stutter_> is_comcast_available();
[09:24] <globalCue> sp0n9e, a junior coder asked me which is the right way to escape in mysql
[09:24] <jazzi> Anyone know of a good file restoration program after format?
[09:24] <syc> KravenCod: bwahah
[09:24] <jazzi> Recover My Files is being bitchy today
[09:24] <sp0n9e> mysql_yes_i_really_want_to_escape_this_string
[09:24] <globalCue> heh
[09:24] <syc> jazzi: rstudio
[09:24] <globalCue> yea :P
[09:25] <globalCue> that's not mature
[09:25] <stutter_> sp0n9e:
[09:25] <sp0n9e> jazzi: backup.
[09:25] <KravenCod> stutter - lol
[09:25] <globalCue> as if a kid wrote it
[09:25] <globalCue> and maybe a kid did
[09:25] <stutter_> sp0n9e: mysql_yes_i_really_want_to_escape_this_string($string, TRUE); true
[09:25] <globalCue> hahhwa
[09:25] <stutter_> caps require, obviously
[09:25] <jazzi> So today I learned that Amy Lee sang Freak on a Leash w/Korn
[09:25] <stutter_> +d
[09:26] <syc> amy lee is sexy
[09:26] <X-wing> $db->escape($string);
[09:26] <stutter_> jazzi: does this piece of trivial information turn you on?
[09:26] <X-wing> thus is the reason I don't remember database functions
[09:26] <X-wing> so retarded
[09:26] <syc> hehe
[09:26] <stutter_> xwing: so just write that down
[09:26] <globalCue> X-wing, well, in PDO it's just $db->quote($string);
[09:26] <stutter_> and bring your db class
[09:27] <globalCue> and you don't even need quotes
[09:27] <jazzi> stutter-, yes.
[09:27] <syc> X-wing: ah well, what company was this anyways? small outfit?
[09:27] <globalCue> err manually that is
[09:27] <X-wing> 100+ people
[09:27] <globalCue> nintendo
[09:27] <sp0n9e> X-wing: put a comment before mysql_connect saying "i use a db lib, and i'll
[09:27] <syc> uh oh! now you're cursed for life!
[09:27] <sp0n9e> X-wing: and pseudocoded it
[09:27] <globalCue> heheh
[09:28] <globalCue> $db = mysql_connect('I promise to learn this... honest');
[09:28] <X-wing> wrote "Current employer has been using db class for the past 8 months, will
[09:28] <syc> that sounds like a demand
[09:28] <syc> no wonder you didn't get hired
[09:28] <X-wing> so be it *shrugs*
[09:28] <globalCue> X-wing, did you describe what a comfortable environment is?
[09:28] <X-wing> it's only been a day
[09:28] <syc> X-wing->jobskill() == Two9A->jobskill()
[09:29] <ox2> sp0n9e: how should I configure my worspace with PDT?
[09:29] <globalCue> IRC connected to efnet, fully indexed manual, internet and autocomplete I
[09:29] <sp0n9e> ox2: whatever makes you feel comfortable :P
[09:29] <aa5> Is possible to copy result of print_r() in a variable ?
[09:29] <X-wing> I'm getting a mac and starting my own business, fuck it
[09:29] <globalCue> syc, you can't assign to a function
[09:29] <ox2> sp0n9e: shouldn't I choose xampp htdocs directory?
[09:29] <syc> i couldn't code without the internet. how am i supposed to grab other peoples c
[09:29] <globalCue> except list()
[09:29] <KravenCod> ok- i want to load a page on another server so ill load the file and then
[09:29] <KravenCod> is this possible?
[09:30] <globalCue> because PHP is a huge hack
[09:30] <arpad> aa5: print_r($foo, 1)
[09:30] <sp0n9e> ox2: for debugging, that's often a good idea
[09:30] <syc> KravenCod: k.
[09:30] <ox2> sp0n9e: ok, thx
[09:30] <aa5> thank you arpad
[09:30] <KravenCod> what functions do I need to do this
[09:31] <syc> www.php.net/curl
[09:32] <globalCue> KravenCod, you can do this with simple socket, if yuo can't "afford" to h
[09:32] <syc> www.php.net/fsockopen
[09:33] <stutter_> fsockput_onfoot
[09:33] <syc> ^^ lamer
[09:33] <stutter_> no u r
[09:33] <jazzi> syc, is there a reason that you resort to being a 15 year old at times/
[09:33] <stutter_> jazzi: maybe it has something to do with the fact that he is 15
[09:33] <stutter_> or maybe just because hes canadian :O
[09:34] <syc> jazzi: yes.
[09:34] <jazzi> too many gray hairs to be 15
[09:34] <stutter_> then it must be the latter
[09:35] <syc> jazzi: it has to do with me being cooler than you.
[09:35] <jazzi> Okay.
[09:35] <syc> k, so i'm doing some devpipe mods
[09:35] <syc> http://php.mooo.com/pastebin/
[09:36] <syc> any suggestions?
[09:36] <stutter_> cookie for saving your god damn name.
[09:36] <syc> ya, i added that in
[09:36] <stutter_> edit existing posts.
[09:36] <syc> k
[09:36] <stutter_> to be work safe, friendly. so if i put a clients name in something by acci
[09:37] <syc> so, if ip address is the same, allow editing of the same post?
[09:37] <syc> or want to do it based on session?
[09:38] <stutter_> that sounds reasonable
[09:38] <stutter_> ip address within 30 minutes of original post
[09:38] <stutter_> ;o
[09:38] <syc> k.
[09:38] <ntom> syc: i got a serious suggestion for u
[09:38] <ntom> and this one pissed the fuck out of me
[09:38] <ntom> 2 suggestions
[09:38] * syc wonders if he has a serious answer
[09:39] <stutter_> at least you weren't pissed on, ntom
[09:39] <stutter_> which i guess you could have been...
[09:39] <ntom> 1> Make the textarea bigger. 2> Allow the use of 'tab' to indent in the
[09:39] <KravenCod> global - I have curl installed
[09:39] <stutter_> tab would be a pita
[09:39] <KravenCod> ill look into that
[09:39] <syc> how many spaces you want tab to represent?
[09:39] <stutter_> 4
[09:39] <ntom> 3 or 4
[09:39] <syc> k
[09:40] <blast_> yeah tab would be huge on there
[09:40] <blast_> no tab hax on pastebins pwnz me
[09:40] <ntom> yeah that would make it pukka
[09:40] <blast_> then again tab autocompelteing
[09:40] <blast_> for functino names
[09:40] <stutter_> pukka?
[09:40] <stutter_> heh
[09:40] <blast_> would be nice too ;D
[09:40] <blast_> then ill just code in devpipe!
[09:40] <syc> i could make that work you know
[09:40] <ntom> yeah, autocomplete on functions, css, auto close html tags and curly brackets.
[09:41] <ntom> syntax highlighting for errors !
[09:41] <syc> ya, not that
[09:41] <syc> hehe
[09:41] <syc> i'm not eval'ing anything
[09:41] <stutter_> i was gonna say
[09:41] <stutter_> eval my code
[09:41] <stutter_> ;o
[09:41] <ntom> how many times must u pastebin somthing before realising you mispelt mysql_ as
[09:41] <syc> although with whitewolf's code from #php.eval
[09:41] <syc> could probably get that to work
[09:41] <syc> make it mark the lines with red that have syntax errors
[09:41] <ntom> if anyone can make it work, its you syc
[09:42] <ntom> yeah
[09:42] <arpad> you don't need to eval anything to check for syntax errors
[09:42] <arpad> or for syntax highlighting
[09:42] <stutter_> ntom: please remove your lips from syc's cock
[09:42] <arpad> yeah, it's stutter-'s turn
[09:42] <stutter_> ouch.
[09:42] <ntom> lol
[09:42] * syc relaxes with his arms behind his head
[09:42] <syc> get to work!
[09:42] <ntom> syc: go go go !
[09:43] <ntom> . . . and don't come back no more no more no more
[09:43] * Boned is now known as Bored
[09:43] <ntom> hit the road jack !
[09:43] <syc> and don't you come back to no...
[09:43] <syc> because. norway sucks.
[09:43] <syc> that was a typo, but i had to make sense of it.
[09:44] <syc> the textarea you can make bigger already
[09:44] <globalCue> I give you the PHP programming elite
[09:44] <globalCue> ...
[09:44] <syc> the little plus or minus buttons
[09:45] <syc> want it to expand to 100% height?
[09:45] <ntom> mmm
[09:46] <globalCue> can someone give me one single damn IDE that properly supports xdebug deb
[09:46] <YorT> good morning boys and girls
[09:46] <syc> globalCue: can sell you mine.
[09:47] <globalCue> syc, I forgot to say I'm looking for a price around $0 :P
[09:47] <syc> of course you are.
[09:47] * Wup is now known as MrWup
[09:49] <globalCue> jesus now we're un EU and I hear "eurostuff" every day. Today some shitty
[09:49] <globalCue> what the f
[09:49] <syc> k, tab is working
[09:50] <syc> i made it actually use the charcode 9
[09:50] <syc> instead of 4 spaces
[09:50] <syc> so you can delete the tabs easier
[09:52] <globalCue> anyone using komodo?
[09:53] <KravenCod> i need to install curl - does anyone know if I should have my server admi
[09:53] <KravenCod> kind of concerned i'll mess server up
[09:53] <KravenCod> ubuntu is OS
[09:53] <globalCue> KravenCod, you pretty much have to have admin I believe, unless you have
[09:54] <syc> gotta be root
[09:54] <syc> then you can do anything
[09:54] <globalCue> KravenCod, and I told you you don't need curl per se
[09:54] <globalCue> there are PHP-code implementations using sockets
[09:54] <syc> KravenCod: see example, www.php.net/fsockopen
[09:55] <KravenCod> ok
[10:02] * Canna is now known as folwer
[10:02] <offwYtE> when fetching a recordset into an array, what is the property length limit?
[10:03] * folwer is now known as fowler
[10:03] <offwYtE> like i haev a table with 30
[10:03] <offwYtE> for a name
[10:03] <sp0n9e> offwYtE: i'd imagine it depends on the db
[10:03] <offwYtE> like 30 charators
[10:03] <sp0n9e> you mean for a fieldname or alias
[10:03] <offwYtE> postgres
[10:03] <offwYtE> fieldname
[10:03] <offwYtE> im going to alias it
[10:03] <sp0n9e> var_dump to see how it comes out
[10:04] <offwYtE> im calling it in a sql statement
[10:04] <olin_> Wouldn't that depend on the DB schema design?
[10:04] <sp0n9e> BANGKOK (Reuters) - A Thai spa has agreed to re-model its penis-shaped fence
[10:04] <offwYtE> so the property should be the exact same name
[10:04] <offwYtE> yet it doesnt see it
[10:04] <sp0n9e> a "spa" eh?
[10:05] <offwYtE> who do you alias again?
[10:05] <sp0n9e> offwYtE: var_dump it
[10:05] <sp0n9e> you mean how?
[10:05] <sp0n9e> foo AS bar
[10:05] <offwYtE> select blah as 'dah' from table
[10:05] <offwYtE> k, thanks
[10:05] <offwYtE> sp0n9e i not sure if i can var_dump it
[10:05] <offwYtE> it doesnt see it
[10:06] <offwYtE> it selects it but when i loop it, it doesnt see it, but sees all the other
[10:06] * fowler is now known as freez
[10:07] <offwYtE> yo, it worked when i aliased it
[10:07] <offwYtE> pg_fetch_object() <--- must not like long names
[10:08] <offwYtE> wow it is quiet today
[10:08] <DanMan010> any idea why var_dump($_FILES); would be 0 on submit?
[10:08] <DanMan010> i have it enabled in php.ini
[10:08] <syc> enctype of the form?
[10:09] <DanMan010> right
[10:09] <syc> $100
[10:10] * DanMan010 fires up paypal
[10:10] <syc> shadda@gmail.com
[10:10] <erf> Why Shadda?
[10:10] <erf> He has a freaking job
[10:10] <DanMan010> cause syc created that address :D
[10:10] <freez> what address
[10:11] <erf> Shadda probably has more money than I do
[10:11] <erf> I down to my last $1k
[10:11] <freez> i bet i can sdo more shits than your mom
[10:12] <erf> I bet I can kick you out of here if you don't behave.
[10:14] <Meritt_> erf: Shadda doesn't have a regular job.
[10:14] <offwYtE> doh, it isnt the length at all
[10:14] <offwYtE> i figured out why, i had fooBar but the array is all lower case
[10:14] <erf> Really?
[10:14] <erf> I thought he worked from home
[10:14] <offwYtE> so had to refer to it as foobar
[10:15] <Meritt_> erf: He does, but like any freelance job, sometimes you've got too much wor
[10:15] <erf> Even still, I bet he still has more money than I
[10:15] <offwYtE> but you are never just nicley balanced
[10:15] <globalCue> where can I find the Zend debugger extension standalone (outside the "pla
[10:17] <sp0n9e> globalCue: i wish i could get it outside zend platform.
[10:17] <globalCue> well I was reading some review
[10:17] <globalCue> they said "installing the zend debug extension was trivial: like any othe
[10:18] <sp0n9e> zend_extension_ts = "/path/to/debugger.dll"
[10:18] <sp0n9e> but you have to install the platform to get access to the .dll afaik.
[10:18] <globalCue> ugh
[10:18] <globalCue> I'll install it on vmware and steal it
[10:18] <syc> erf: gimme your paypal addy thne, and i'll use that one
[10:18] <globalCue> god damn it I hate php
[10:19] <globalCue> it's 2007
[10:19] <globalCue> I've been debugging in Pascal 14 years ago
[10:19] <sp0n9e> use xdebug
[10:19] <globalCue> I do
[10:19] <sp0n9e> mmmmm, xdebug.org :D
[10:19] <globalCue> but I have no single client that works properly
[10:19] <globalCue> tsWebEditor, Komodo
[10:19] <globalCue> PHPEclipse
[10:19] <globalCue> all of them wrecked
[10:20] <sp0n9e> komodo should work with xdebug...i've had issues with xdebug more than the e
[10:20] <globalCue> sp0n9e, do you know what komodo does here?
[10:20] <globalCue> it worked 4-5 times
[10:20] <sp0n9e> is xdebug crashing php at the end of each request
[10:20] <globalCue> then when I launch a debug session, Komodo says "can't open c:\php5\- Do
[10:20] <sp0n9e> because that's what it does on a machine
[10:20] <globalCue> I can say yes or no
[10:20] <globalCue> it keeps asking that
[10:20] <globalCue> and then locks up
[10:21] <sp0n9e> haha, that's odd.
[10:21] <sp0n9e> i've got a beta module for xdebug in PDT
[10:21] <globalCue> O_O
[10:21] <globalCue> shit, this is my IDE
[10:21] <globalCue> please gimme
[10:21] <sp0n9e> https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408
[10:22] <globalCue> so they are making an xdebug compatible version
[10:22] <globalCue> this is very good news, I thought they'll only target the Zend API
[10:22] <sp0n9e> no, that's from a guy...dunno if it'll make it into stable
[10:22] <ntom> globalCue: haveyou tried zend development studio?
[10:22] <sp0n9e> if there's sufficient pressure, it'll make it in
[10:22] <globalCue> Zend truly sucks
[10:22] <ntom> ?
[10:22] <sp0n9e> zend wants PDT to be a platform to tie people to zend platform
[10:22] <ntom> i don't know why u think thta it works great for me
[10:22] <sp0n9e> BUT! zend doesn't control the project
[10:23] <sp0n9e> someone could appeal above their heads and they'll tell zend to add the chan
[10:23] <ntom> ? i can only work on zend. everything else i'm not used to and can't be bother
[10:23] <sp0n9e> and the eclipse people have been hammering zend
[10:23] <globalCue> sp0n9e, as I said zend sucks :P maybe I'd put up with their shit at least
[10:23] <sp0n9e> eclipse people told zend they won't be used as a front for their company
[10:24] <globalCue> nice
[10:24] <thinwork> i've got a database giving me the number 3, how do i turn '3' into februar
[10:25] <feti> pixy dust
[10:25] <globalCue> sp0n9e.. man if this xdebug beta plugin works, thanks a million
[10:25] <globalCue> and I've very modest requirements for "works"
[10:25] <DanMan010> why does this keep dieing: http://www.phpriot.com/4702
[10:25] <globalCue> since all other projects I tried wer sub-beta quality
[10:25] <sp0n9e> globalCue: works flawlessly on my system...just watch out, the debugger sets
[10:26] <sp0n9e> the PDF tells all
[10:26] <globalCue> sp0n9e, I've set it in my PHP not to use that cookie but stop on demand
[10:26] <sp0n9e> (there's instructions in the zip)
[10:26] <globalCue> like if I have a break
[10:26] <globalCue> cool
[10:26] * globalCue jumps around and runs to try it
[10:26] * Disconnected
Session Close: Mon Jan 29 10:26:46 2007