| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Comments:
<0> i dont see anything... <1> !tell Mordof about aolbonics <2> !tell terribleCabbage about aolbonics <0> hehe <1> !tell terribleCabbage about msg the bot <3> !+aolbonics <2> ... Double standards. *Grumbles* <0> ohhh, heh. yeah that kind of talk <4> FlamingCows: i understand the talk to the bot in private rule, but it's way more fun in public. <5> double standards are what bi***uals have :P <2> Nono, that's double dipping. <1> NBrepresent: So is streaking, but I don't see you doing that. <1> I hope.
<5> hat hair!! <3> jiggster: No, hermaphrodites have double standards. <5> whateva <4> look how i've degenerated the discourse of this room, by saying 'EST represent!' <2> :D <5> doesnt take much when i'm around <4> hehhe <2> Damnit, get your own timezone name, stop stealing ours! etc. :P <2> EST == GMT+10 already. :P <0> yay for invader zim!!! <4> MINUS SIX. <2> dj_segfault: I'll preg_match u, foo'. <5> oh yeah <3> terribleCabbage: I'm not afraid of a rotten vegetable. <5> i'll preg_replace yall <5> owned. :P <4> unset($jiggster) <4> that's how i roll. <5> you can unse me, but you missed my __clone! <4> lol <3> jiggster: die(), you MF <6> hi there, guys. <7> s/.*/\. <8> nevermind <5> :P <8> figured it out <9> is it common for mysql driven websits to make a single database handle in the header? <5> fine fine i'll tone it down <3> myconid: yes. <5> a single handle is usually all thats required <5> i'm tempted to say bad design otherwise <9> This guy im workign with says thats 'bad' and wants sql objects created on every function that need them. <3> I'm not sure when you would need more than one, unless you were connecting to multiple databases. <7> phpinfo($what); <5> myconid: thats a bad way to think <7> never knew what's $what <7> lol <1> myconid: Eww. <5> each connection take time to connect <10> anyone uses xtemplate here? <5> it'll slow down like hell <6> guys, does anyone works with adodb? I would like to have just an advice on it. <11> myconid, are you sure hes not talking about ORM? <11> i.e. object relational mapping <9> yep. <11> in that case slap him down with a mighty trout <1> Fetching a singleton instance inside eahc method call would be fine (as opposed to p***ing a connection resource) in an OOP-structured script, but not reconnecting. <1> s/eahc/each/ <12> I'm developping on php-5.0.4-10.5 and today I'm suddenly experiencing some VERY weird errors <2> Oh? <4> i'd still like some direction with http://perry.pastebin.com/543129 if someone doesn't mind looking at it for me. especially lines 96-109 <12> random segmentation faults <5> what does 10.5 stand for? <12> for pages that worked fine for the last 2 weeks <12> refreshing the page gives 50% chance a segfault <2> NBrepresent: What's the problem, exactly? <12> and stuff like PHP Fatal error: Can not call constructor <12> for code that has not changed
<3> terribleCabbage: I would call segfaults a problem ;) <4> well, right now it increments by months but loops around to the same year. what would i need to change to have it go into the next year? <12> i have no clue why this is happening and i dont know where to start <2> NBrepresent: Besides if () { } else { } else { } <2> dj_segfault: Wrong person. <2> NBrepresent: Ah, ok. *Looks* <4> terribleCabbage: there are a lot of problems with this page, for sure <4> terribleCabbage: i'd like to clean things up and learn a better approach to programming, could you give me some pointers? <3> Toon_Get: I can't imagine a scenario outside of eval where code could cause a segfault. Much more likely to be a library changed or some other process is killing it, from apache or somewhere else. <6> does anyone use adodb GetMenu()? It does not work on IE. <2> NBrepresent: Oh lord, indent that ****er. I got confused by a misindented if() statement or three. <4> someone said that the objective was to get everything into separate files so that you can use the same mysql queries when you need them in other pages just by inlcluding them, etc <12> :( <2> NBrepresent: vi -> gg=G will auto-indent it for you. <3> Can someone back me up on that? Can I get an "Amen"? <2> dj_segfault: Besides bugs in a dev-build of PHP? :S <12> it's ok for a first subcl*** of a parent, but when i try to instanciate a second (different) subcl*** of the same parent cl***, the segfaults just pop up random <4> can you highlight in the pastebin where it should be indented? <4> i'm using php designer <12> and it's just some basic php-mysql code :( <3> Toon_Get: What version of PHP, and when was it installed and how? <13> NBrepresent, basics of indent: after each { tab one time, } will be at the same location as the { <4> ok <2> NBrepresent: Look at it now. <12> php 5.0.4-10.5 <12> installed with rpm <12> but i dont't know when <12> is there a way to look it up when it was installed/last updated ? <3> rpm -qi php <14> hello dj_segfault. got any free time today to help me out? <12> Install Date: Sat 21 Jan 2006 01:30:33 PM CET Build Host: hs20-bc1-6.build.redhat.com <12> its been working fine since then <12> it was okay sunday, last time a used it <3> rolemodel: Ugh. Dude, I thought everything was working! <4> terribleCabbage: ok <2> NBrepresent: I think those were the lines you had highlighted...? Anyway, having a proper look now. <14> yeah i thought so too till i got a 403 moved permanently error <4> i highlighted 96-109 <3> Toon_Get: I smell a connection. <12> a connection with ? <12> eurm, i just restarted httpd and now i get uncaught Exceptions errors, while it is in a try { } catch block <12> what the hell ? <15> hi <15> i can get var via url only with $_GET[] <1> Good for you. <15> but how can i set that i can use var <15> from url <15> just like normal <15> $var <1> $_GET /is/ normal. <15> (: <1> $var is not normal, it is bad. <2> $_GET['my_arg'] <15> i know <12> dj_segfault, what connection are you smelling ? :D <15> but for now i need that <2> Instead of the old $my_arg. <15> i know that <2> Why do you need the old way? <15> (: <2> NBrepresent: What possible values can $now['mon'] be? :S <15> because i have an old script <15> and i want to test it <4> terribleCabbage: 1-12 <2> \n: register_globals. Only use it where you have to. <4> $now = getdate(); <2> Oh, whoops, missed that. <3> Toon_Get: The new version of PHP was installed about the time you started having problems, right? <12> nope :) <16> Hrm. Is there any way to p*** a regex for array_search to parse? Or is there an equivalent function that can do what I'm looking for? (which is to search, using a regex, the elements of an array) <2> I'm still not entirely sure why you're % 12 there, but in any case, you're not modifying the value of $year at all. Perhaps $year = ($now['mon'] + 1 > 12 ? $year + 1 : $year); ? <12> i was not having problems till 5th feb <1> !tell NeoThermic about func preg_grep <4> terribleCabbage: i know that right now i'm not modifying year at all, i was looking for direction as to how to do that properly
Return to
#php or Go to some related
logs:
#qmail fglrx paletted texture already mounted or /media/hda1 busy #ai #css #gaim #perl 865perl xorg #debian header file slow compile
|
|