| |
| |
| |
|
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
Comments:
<0> That's the developers' fault for being uneducated <0> People screw you in person just as bad as IRC <1> Jabberwock: This channel isn't rentacoder.com or monster.com anyway. If someone's looking for a developer, they should go there, not here. <2> Jabberwock: If the job is offered, and the developer is out of money, thenthey don't know any better <0> That's why I always demand half up front <1> The point is, this isn't the place. Deal with it and move on. I'm done discussing. <2> You should demand contract. Signed. <0> K. Thanks for discussing. <0> Stormchaser: I do <3> then go sue them for 92k <2> ok, and as Biggie said -- That's enough. <1> Teh biggie, heh. <0> Oh I get it.. big E <0> ha ha ha <2> BigE: :)
<1> Speaking of work... I have plenty to get done, heh. <0> Stormchaser: Hopefully the 459 people here are now more edumucated on landing deals <0> I don't see that discussion as anything but productive :P <0> I don't. waiting for a designer to hand over some new comps. <3> i wanted to discuss the c_type functions but since you discussed deals i have lost irc time to something i already knew <1> Yeah, I'm waiting on a design and a database... but I've still got other work to do. <0> I love it when they ask you to design a database but haven't the foggiest idea what will be on the frontend of the site <2> BigE: DB written in PHP? <1> Stormchaser: Yes, just to taunt you. <2> drat <2> :) <1> Stormchaser: It's only purpose is to take over your DNS and point every site to it so you have to load pages very slowly every time. <3> phpsql ? <0> alphablue: What do you want to know about c_type functions? <1> phpsq*cough cough gag gasp* *death* <1> :P <0> They're pretty straight forward. <3> jabber: i was sarcasming <4> ****a Free <2> BigE: :) <0> alphablue: Oh. <2> Hm... BMPx is pretty badly screwed up :) <0> More screwed up than DOMDocument and simplexml? <5> anyone have any idea why $x = &$some_array[key($some_array)]; might make php hang? <4> mae^, Because your statement is _pure_ evil. <4> PHP can't cope with too much evil. <5> heh, yes i'm stealing the souls of the 1's and 0's <3> owww <3> why am in the fire ? <2> you can be just as well 'on' fire... <3> no, my body is fire repellant. but he tossed me into the fire <3> i'm wearing my supersuit right now <0> Maybe the fire is body repellant. <2> kyou mean your dorksuit... <6> so you are chatting on irc whilist burning? <3> there's a difference ? <0> Oh yes. <7> mae^: is key() returning something valid? <8> jonez: His keyboard uses bluetooth <9> how can i bolden the first word of a sentence that is pulled from mysql <3> heh.. actually yes, my keyboard is bt <2> rofl <3> david: <strong> <0> preg_replace("^([a-zA-Z]+?\W).*?","<b>$1</b>", $str); <0> something like that <5> ||cw: heres the code.. <9> Jabberwock: me? <5> if (reset($some_array)){ do { $x = &$some_array[key($some_array)]; might make php hang? <5> [02.01|10:27] * Touqen tosses alphablue into it. <0> yes <9> thanks <5> er.. <0> Na your aunt tilly yeah you! <0> get ova heea! <9> alphablue: was that a joke? umm <9> haha! <3> david: yes <7> mae^: it hangs on the first run in the loop?
<2> mae^: er. <3> jabber gave you the unfunny response <9> you both did <9> : ) <7> mae^: what's your do condition? <5> if (reset($some_array)){ do { $x = &$some_array[key($some_array)]; echo $x; } while (next($some_array)); <3> php has do ? <2> yes <4> yes <3> oh oh.. do while <8> (my turn) Yes <2> do { stuff } while { burp } <7> mae^: how is this different from current($some_array) <10> do { stuff } while ( burp ) <3> wonder why i don't write code that way <5> current() returns a copy of the value <2> Bitch! <10> !!! :D <2> s/kuje/kuja <10> There ain't no {} bitch! <7> do {} loop ($foo) <7> w <7> er <3> am i the only one who doesn't like the way do while looks ? <5> i dont like the do while either, but the iterator functions dont have a function to check to see if the pointer is at the end <0> no. <7> do while() <11> $s = preg_match("/http:\/\/[google|yahoo]\.com/","\1",$s); <-- how can i change that so that $s will have the value of either "yahoo" or "google" depending on which one is matched? <12> hi guys, what would be a good test to see if a php/mysql based site would hold up under heavy traffic? <9> Jabberwock: Warning: preg_replace(): No ending delimiter '^' found in <5> oh, my example was wrong.. <7> mae^: foreach would work there too <9> preg_replace("^([a-zA-Z]+?\W).*?","<b>$1</b>", $row['News']); <4> MikeH, There are stress test frameworks out there on the interweb somewhere. <3> redducl: use strpos instead ? <5> if (reset($some_array)){ do { $x = &$some_array[key($some_array)]; echo $x; while (next($some_array))}; <10> davidbest: Delimit your regexes <13> Touqen: care to point me in the right direction? <7> Mike___: hit with "ab" from the command line <4> MikeH, google? <9> i dont know crap about regext <11> alphablue, strpos can give <0> Maybe enclose the pattern with ## or // <2> davidbest: Simple solution: Learn it <5> ||cw: the foreach gets me a copy of the element, i need the actual element. i also tried foreach(array_keys($some_array) as $array_ind)... but that had the same prob <11> me from http://www.google.com only google? <3> redduck: yea just realized <0> preg_replace("#^([a-zA-Z]+?\W).*?#","<b>$1</b>", $str); <0> try that <14> Hi, I am dabbling with PHP, and 1 thing that always catches me out, is quotes, in particular echoing html. <10> davidbest: php.net/pcre.pattern.syntax <-- will give you some example of delimiters <14> if my HTML (or Javascript) has quotes in them, what should I be doing with them? <9> thanks guys <4> escape them <7> mae^: foreach($foo as $key=>$val { $foo[$key]... <11> alphablue, by `i just realized' you mean that i can or can not use strpos()? <9> that worked Jabberwock <5> i keep getting a bunch of httpd processes that dont return and i need to restart httpd <4> BlackShuck, or use a different type of quote for the surrounding quotes <14> like a C escape? \ <4> ie : 'blah blah "blah" blah' <-- legal <5> ||cw: i'll try that <10> BlackShuck: If you have lots of HTML, you should consider going in and out of PHP blocks <4> "blah blah 'blah' blah" <-- also legal <3> redduck: the strpos thing is a bit messier actually thats all <10> "blah blah \"blah\" blah" <-- legal <10> Likewise: 'blah blah \'blah\' blah' is legal <7> 'blah blah \"blah\" blah' == BOOM <0> davidbest: cool <14> OK, thanks <15> hi
Return to
#php or Go to some related
logs:
niceApp
kill vmware-vmx #perl #kde #math linux32 wrapper Python builtin compiler bytecode copying files to var/www videoconversation linux ion3 rpm
|
|